Re: Threads signalling issue [was RE: threads change]
[email protected] (Artur Bergman)
| Newsgroups | perl.perl5.porters,perl.ithreads |
|---|---|
| Message-ID | <[email protected]> |
On Jul 14, 2006, at 5:39 PM, Jan Dubois wrote: > >> I don't think the fix is to add locking into the dispatcher :D > > I stand by my claim that the code is safe and correct as is. > > You have to try harder to come up with an example that shows how this > can fail. :) > > Cheers, > -Jan > > PS: See also here for the discussion about exactly the same topic in > May: > > http://www.nntp.perl.org/group/ > perl.perl5.porters/;msgid=20060509232219. > GT2831%5Bat%5Diabyn.com?show_headers=1 > > I owe you a big beer, I hope you will be at OSCON? :) The mutex will issue a memory barrier, so it should be safe. Artur