Re: Update: join return question

2002-11-27 Thread Joshua Hoblitt
> Not that I know of for Perl 5. For Perl 6 I think this is still in the air... Thats too bad - I wrote a multi-threaded proxy server that kept having random crashes. Turns out that SIGPIPE can't be trapped with eval ( at least not on Solaris ) in child threads and the signal was going to the

Re: Update: join return question

2002-11-26 Thread Elizabeth Mattijsen
At 14:14 -0500 11/26/02, Jesse Butler - Sun Microsystems wrote: This way we're never going to get any traffic on the ithreads mailing list... That's why I Cc'd the ithreads mailing list. Sorry about that - I was replying all and you and I were the only one on the list... :) No problem... ;

Re: Update: join return question

2002-11-26 Thread Jesse Butler - Sun Microsystems
Elizabeth Mattijsen wrote: At 11:42 -0500 11/26/02, Jesse Butler - Sun Microsystems wrote: ...Is there a way to use thrown Error's (from Error.pm) or die's from a thread? I want to die or throw, and then eval or catch in the main thread, but I keep getting these "failed to start" messages.

Re: Update: join return question

2002-11-26 Thread Elizabeth Mattijsen
At 11:42 -0500 11/26/02, Jesse Butler - Sun Microsystems wrote: ...Is there a way to use thrown Error's (from Error.pm) or die's from a thread? I want to die or throw, and then eval or catch in the main thread, but I keep getting these "failed to start" messages. It looks like it used to say

Re: Update: join return question

2002-11-26 Thread Elizabeth Mattijsen
At 16:43 -0500 11/25/02, Jesse Butler - Sun Microsystems wrote: Is this list active? If so, I'm not seeing any traffic on it except for what I sent... maybe someone could reply directly to me? This list isn't very active, but there are a few good people lurking. And some of them answer now

Update: join return question

2002-11-25 Thread Jesse Butler - Sun Microsystems
Is this list active? If so, I'm not seeing any traffic on it except for what I sent... maybe someone could reply directly to me? Anyhow, I've got my previous question figured out; the threads were going out of scope apparently. If I push each thread onto an array, this code works. Is

join return question

2002-11-25 Thread Jesse Butler - Sun Microsystems
I have a question regarding join(). If this is not the correct list, please let me know. Simply put, join() doesn't seem to be returning anything. Below is my test code; what am I missing? ___ use threads; threads->create(sub { sleep $i; return time(); }) while ($