in reply to Event module and threads/fork segfault on Win32

Alternatively, is it really necessary to join the thr once it's done it's work?
Why not use thr->detach() instead?

Cheers
Chris

  • Comment on Re: Event module and threads/fork segfault on Win32

Replies are listed 'Best First'.
Re^2: Event module and threads/fork segfault on Win32
by gurbo (Sexton) on Jun 05, 2007 at 13:56 UTC
    The script needs to join() because some threads should run upon successful completion of others. So that's the need to know when they end and collect their exit statuses.