develooper Front page | perl.perl5.porters | Postings from April 2003

Re: 5.8.1@19053: threads goofs

Thread Previous | Thread Next
From:
Jarkko Hietaniemi
Date:
April 3, 2003 20:34
Subject:
Re: 5.8.1@19053: threads goofs
Message ID:
20030404043440.GJ14115@vipunen.hut.fi
On Thu, Apr 03, 2003 at 01:04:08PM -0800, Ilya Zakharevich wrote:
> On Thu, Apr 03, 2003 at 05:30:07PM +0300, Jarkko Hietaniemi wrote:
> > Die()ing is a slightly different matter, at least when doing testing
> > like this with just a single immediate call to die(), since it dies so
> > "fast" that threads->new() thinks the thread creation failed.
> 
> ???  How can it think so?  I do not remember seeing any test there...

How about threads.xs:300, in Perl_ithread_run():

                if (SvTRUE(ERRSV)) {
                    Perl_warn(aTHX_ "thread failed to start: %" SVf, ERRSV);
                }

> Ilya

-- 
Jarkko Hietaniemi <jhi@iki.fi> http://www.iki.fi/jhi/ "There is this special
biologist word we use for 'stable'.  It is 'dead'." -- Jack Cohen

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About