Re: Signal Handling

From: Paul Pluzhnikov (ppluzhnikov-nsp_at_charter.net)
Date: 12/04/03

  • Next message: hai_nee_at_hotmail.com: "Security Fixes"
    Date: 04 Dec 2003 13:01:25 -0800
    
    

    Jose Pina Coelho <eresquigal@netcabo.pt> writes:

    > Paul Pluzhnikov <ppluzhnikov-nsp@charter.net> wrote in
    > > [BTW, using SIGPWR for *application* signalling is probably a very
    > > bad idea (TM)]
    > Why ?
    >
    > It allows an application to cleanup correctly before the power runs out.

    The OP didn't use it for any such cleanup.
    >From the original message:

      :there are write() for sockets, so SIGPIPE is generated quite often.
      :pthread_kill(thread_id, SIGPWR) is called frequenctly to interrupt
      :write().

    Cheers,

    -- 
    In order to understand recursion you must first understand recursion.
    Remove /-nsp/ for email.
    

  • Next message: hai_nee_at_hotmail.com: "Security Fixes"

    Relevant Pages

    • Re: Prime Buddies
      ... The first cross section is all 1's. ... Next,how do you determine if the integer is a power or not. ... You've introduced recursion into the stepping ... what is so special about recursion that it allows us to ...
      (sci.math)
    • Re: Another way to do x^n
      ... \ raise float to positive integer power ... Recursion unnecessarily obfuscates the algorithm. ... # conditionally multiply stack top by x, ...
      (comp.lang.forth)
    • Re: Prime Buddies
      ... The first cross section is all 1's. ... Next,how do you determine if the integer is a power or not. ... You've introduced recursion into the stepping ... what is so special about recursion that it allows us to ...
      (sci.math)
    • Re: Grammatical Recursion
      ... Miguel> equivalent to iteration. ... recursion has higher expressive power than ... be expressed as a form of recursion. ... My claim implies that there are cases in which recursion can ...
      (sci.lang)