|
|
| The stupid question is the question not asked | |
| PerlMonks |
Re^2: Testing methodologyby BrowserUk (Patriarch) |
| on Mar 05, 2012 at 14:36 UTC ( [id://957908]=note: print w/replies, xml ) | Need Help?? |
|
Why would you not use Thread::Conveyor? Because I know better. Why are you suggesting it when you obviously do not? I was asked to update this to explain my reasoning, so here it is: Thread::Conveyor doesn't work. It isn't thread-safe. Don't believe me, try it for yourself! I'll even provide the test script for you:
Nine times out of ten this will segfault with;
On the 10th occasion it will emit the following before hanging:
And if you trace the run you get: <Reveal this spoiler or all in this thread>
In Section
Meditations
|
|
||||||||||||||||||||||||||||||||||||