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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Threads and Synchronization
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: thread pooling
 
Similar Threads
controllers
Thread Creation at runtime.
thread communication
Removing threads from my thread pool
Multiple threads to be created and require use of database access