This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "Need understanding on Hierarchical(Multilevel) Multithreading" Watch "Need understanding on Hierarchical(Multilevel) Multithreading" New topic
Author

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need understanding on Hierarchical(Multilevel) Multithreading
 
jQuery in Action, 3rd edition