Comment of the day:

Comment of the day:

// Waiting for all threads to finish

Comments

  1. was there a loop with a call to sleep in it?

    ReplyDelete
  2. what's the saying.  I have a problem.  I used threads to solve it, now I have three problems.

    ReplyDelete
  3. Was the completion checked through a RegEx? ;-)

    ReplyDelete
  4. Waiting for threads to finish is business as usual. How you wait, depends on how you implemented your signaling. As long as you ensure that the thread actually checks if it should exit, fairly frequently, you won't need to wait for long.

    ReplyDelete

Post a Comment