in reply to Re^2: a question on threads
in thread a question on threads

Possibly not, hence 'might'.

Replies are listed 'Best First'.
Re^4: a question on threads
by thcsoft (Monk) on May 12, 2005 at 05:07 UTC
    at least $SIG{__DIE__} works in threads. if you install a hook for it, for instance a logger, like:
    $sig{__DIE__} = sub { add_log(shift) };
    (with add_log being the sub that prints out messages to a logfile), this hook will be recognized even from within a thread. you then get the original error message plus a "thread was unable to start".

    language is a virus from outer space.