in reply to Re: failing with Thread::Queue
in thread failing with Thread::Queue
And I now see how what I did could never work. I think the term for that is "having sh*t for brains" on my part. I moved the $q->enqueue(1) to before the creation of the threads, and it worked as expected. I think it's time for a break :-)
Just out of curiousity, why are those methods so bad?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: failing with Thread::Queue
by BrowserUk (Patriarch) on Mar 22, 2012 at 21:36 UTC | |
by rastoboy (Monk) on Mar 22, 2012 at 22:10 UTC | |
Re^3: failing with Thread::Queue
by BrowserUk (Patriarch) on Mar 22, 2012 at 21:22 UTC |