in reply to Re: Re: Perl threads - telling them urgent stuff
in thread Perl threads - telling them urgent stuff

Can you explain why Thread::Signal is not an option?


Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"Think for yourself!" - Abigail
Hooray!

  • Comment on Re: Re: Re: Perl threads - telling them urgent stuff

Replies are listed 'Best First'.
Re: Re: Re: Re: Perl threads - telling them urgent stuff
by pg (Canon) on Oct 20, 2003 at 00:54 UTC
    Becasue:
    • Its own document said so. With new code, don't expect it to be able to handle signal safely.
    • What's the point to develop some code base on something you expect to become obsolete very soon?

      Okay. I think I have found the source of the confusion. There are two packages on CPAn by the same name. The one your looking at is this This one, which is obsolete.

      However, there is also this one which liz wrote quite recently specifically to enable the use of signals and signal handlers across and between threads (for linux and similar systems).


      Examine what is said, not who speaks.
      "Efficiency is intelligent laziness." -David Dunham
      "Think for yourself!" - Abigail
      Hooray!

        Fair enough, and hope he is using Linux ;-P