David Xu cdcffc3f1c Tweak code a bit to be POSIX compatible, when a cancellation request
is acted upon, or when a thread calls pthread_exit(), the thread first
disables cancellation by setting its cancelability state to
PTHREAD_CANCEL_DISABLE and its cancelability type to
PTHREAD_CANCEL_DEFERRED. The cancelability state remains set to
PTHREAD_CANCEL_DISABLE until the thread has terminated.

It has no effect if a cancellation cleanup handler or thread-specific
data destructor routine changes the cancelability state to
PTHREAD_CANCEL_ENABLE.
2010-08-17 02:50:12 +00:00
..
2010-07-10 03:45:55 +00:00
2010-08-03 18:29:58 +00:00
2010-03-02 16:58:04 +00:00
2010-08-06 14:33:42 +00:00
2010-08-03 17:40:09 +00:00
2010-08-03 17:40:09 +00:00
2010-06-13 01:27:29 +00:00
2010-01-02 09:58:07 +00:00
2010-08-03 17:40:09 +00:00
2010-01-02 09:58:07 +00:00
2010-05-03 09:49:42 +00:00
2010-08-11 17:33:26 +00:00
2010-08-03 17:40:09 +00:00
2010-01-21 15:01:09 +00:00
2010-01-02 09:58:07 +00:00
2010-04-20 21:14:30 +00:00
2010-07-31 16:12:47 +00:00