This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Threads and Synchronization and the fly likes thread pooling Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "thread pooling" Watch "thread pooling" New topic
Author

thread pooling

nitin kumar
Ranch Hand

Joined: May 14, 2002
Posts: 105
Thanks for ur code. Im getting the result but Im little bit confused how again first thread A is starting after completion of J thread.
Here there is some more task for me if the number of threads are dynamically increasing and I need to perform a task at 12:00am then the same task shud again be performed at 1:00 am,u can say on a periodical basis .Here Im talking of creating threads dynamically bcoz my number tasks to handle is increasing.

So it could mess up with anything.I heard something of thread pooling but here are also there are two problems for me
One is how a thread notifies other.In thread pooling he has abstracted over the wait and notify method by ObjectFIFO,idle workers,thread pool etc.
Second is how to set my priority this will run at this particular time
bye
nitin
[ August 31, 2002: Message edited by: nitin kumar ]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: thread pooling