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

Re: 5.8.1@19053: threads goofs

Thread Previous | Thread Next
From:
Ilya Zakharevich
Date:
April 4, 2003 01:15
Subject:
Re: 5.8.1@19053: threads goofs
Message ID:
20030404091531.GB6523@math.berkeley.edu
On Fri, Apr 04, 2003 at 07:34:40AM +0300, Jarkko Hietaniemi wrote:
> 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);
>                 }

Just a misnomer.  If $@ is not '', then the thread most definitely started...

Ilya

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