Meaningless Drivel is fun!
The moose likes Threads and Synchronization and the fly likes Need understanding on Hierarchical(Multilevel) Multithreading Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "Need understanding on Hierarchical(Multilevel) Multithreading" Watch "Need understanding on Hierarchical(Multilevel) Multithreading" New topic

Need understanding on Hierarchical(Multilevel) Multithreading

agilemanoj kumar
Ranch Hand

Joined: Mar 07, 2008
Posts: 70
Hi All,

I have a scenario where I have to call multiple objects concurrently, and each object will call multiple other class's objects internally. After the execution of all child objects, it should return result back to parent object and finally, parent objects will return result back to Main thread. It is basically two level multi threading. I do not know which all things I should consider while implementing this scenario. Please help me out to solve this scenario. It would be better if anybody explain this scenario with a code example.

I have attached a picture which gives a clear understanding of the scenario.

[Thumbnail for HMT_1.jpg]

Manoj Kumar
jQuery in Action, 3rd edition
subject: Need understanding on Hierarchical(Multilevel) Multithreading
It's not a secret anymore!