Copyright Digital Equipment Corp. All rights reserved.

Arguments

 

state

   State of general cancelability to set for the calling thread.
   Valid state values are as follows:

      PTHREAD_CANCEL_ENABLE
      PTHREAD_CANCEL_DISABLE
 

oldstate

   Receives the value of the calling thread's previous cancelability
   state.