Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

thread pooling  RSS feed

nitin kumar
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
[ August 31, 2002: Message edited by: nitin kumar ]
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!