Results 1 to 1 of 1

Thread: Thread pools

  1. #1
    tcms is offline Member
    Join Date
    May 2013
    Posts
    43
    Rep Power
    0

    Default Thread pools

    Hello again guys,

    A few days ago I posted a swing problem about an exercise that I need to do, and I already solved it(with your help).
    Now, It's time to make this exercise using Thread pools (this is new for me).
    What I need to do is: Initially I have 100 ball's and a Pool Thread should be created with a fixed size, like 50. Then 50 balls should be added/submitted to this Pool and iniciate their job (run method), until all balls terminate the job.

    I really don't know how to implement this, and I don't want code, I just want to learn how to do it, because I can't find good information about Thread Pools.
    Last edited by tcms; 11-24-2013 at 11:22 PM.

Similar Threads

  1. Replies: 2
    Last Post: 12-11-2012, 11:35 AM
  2. Using thread pools with SwingWorker?
    By TacoManStan in forum AWT / Swing
    Replies: 1
    Last Post: 09-23-2011, 08:43 PM
  3. GLassFIsh connection pools
    By videanuadrian in forum New To Java
    Replies: 0
    Last Post: 12-07-2010, 12:00 PM
  4. Replies: 22
    Last Post: 05-01-2010, 10:52 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •