Comment of the day: Get link Facebook X Pinterest Email Other Apps - February 15, 2013 Comment of the day:// Waiting for all threads to finish Get link Facebook X Pinterest Email Other Apps Comments Primož GabrijelčičFebruary 15, 2013 at 9:19 AMWhat's wrong with that?ReplyDeleteRepliesReplyDorin DuminicaFebruary 15, 2013 at 9:22 AMwhere's the "-1" button?! ((:ReplyDeleteRepliesReplyIman CrawfordFebruary 15, 2013 at 9:27 AMwas there a loop with a call to sleep in it?ReplyDeleteRepliesReplyNick HodgesFebruary 15, 2013 at 9:28 AMIman Crawford ooohhh yeah.ReplyDeleteRepliesReplyIman CrawfordFebruary 15, 2013 at 9:32 AMwhat's the saying. I have a problem. I used threads to solve it, now I have three problems.ReplyDeleteRepliesReplyEric GrangeFebruary 15, 2013 at 9:45 AMWas the completion checked through a RegEx? ;-)ReplyDeleteRepliesReplyLars FosdalFebruary 17, 2013 at 10:18 PMWaiting 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.ReplyDeleteRepliesReplyAdd commentLoad more... Post a Comment
What's wrong with that?
ReplyDeletewhere's the "-1" button?! ((:
ReplyDeletewas there a loop with a call to sleep in it?
ReplyDeleteIman Crawford ooohhh yeah.
ReplyDeletewhat's the saying. I have a problem. I used threads to solve it, now I have three problems.
ReplyDeleteWas the completion checked through a RegEx? ;-)
ReplyDeleteWaiting 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