[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]

Re: [ID 19991229.003] perl 5.005_03 core dumps -- singal



On Tue, Jan 11, 2000 at 01:59:10PM -0800, Larry Wall wrote:
> : > : Not a tiny bit easier: you still need to unblock the thread.
> : > 
> : > How does OS/2 unblock a thread?  Obviously it can, or threads would never
> : > run.
> : 
> : The only way for user to unblock a thread is to kill it.
> 
> I'll bet there are 18 other ways, if you're sneaky.

Try it.

> I should perhaps make clear my assumption that a signal-handling Perl
> thread would only interested in handling signals.  I'm not thinking
> that a signal-handling thread would also be handling a bunch of other
> events unless we can find a portable way to multiplex them.  That might
> be a restriction on writing portable threading code in Perl.

We *need* an event loop in Perl core - or very close to it.  This may
be a part of this loop.

Ilya


Follow-Ups from:
Larry Wall <larry@wall.org>
References to:
Ilya Zakharevich <ilya@math.ohio-state.edu>
Larry Wall <larry@wall.org>

[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]