Event.pm / ithreads interaction

2004-01-24 Thread Elizabeth Mattijsen
This came in on the perl-loop list (courtesy Gensky Regnus). Not sure whether this is a problem with Event or with threads.pm. As it is a distinct possibility it's the latter, I thought I'd post it here. If consensus is this requires an RRT ticket, I'll resubmit as a perlbug. Further simpli

Re: Creating a thread pool within a callback cause segfault

2004-01-24 Thread Gensky Regnus
Looks like the problem is with creating threads within the event callback. This snippet of code segfaults. #!perl use threads; use threads::shared; use Event; $Event::DebugLevel = 5; my $var : shared; my $timer = Event->timer( desc => 'thread_test', interval => 1, cb => sub {