File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP 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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: thread pooling