|Pathologically Eclectic Rubbish Lister|
Re^2: Waking threads that do periodic checksby BrowserUk (Pope)
|on Sep 26, 2011 at 04:57 UTC||Need Help??|
What do you think is the point of this code?:
Given that it is proceed by: $thr->join(); which means that the thread no longer exists by the time the above two lines are executed. In addition, the ->yield() method of the threads module isn't exported by default, and you do not import it.
Your code is exactly equivalent to:
In other words it does exactly nothing useful and is in no way an answer to the OPs question.
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.