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... IlyaThread Previous | Thread Next