![]() ![]() |
![]() |
version 1.10, 2005/03/11 18:36:41 | version 1.11, 2005/04/27 19:42:21 | ||
---|---|---|---|
|
| ||
// pthreads cancellation calls | // pthreads cancellation calls | ||
inline void disable_cancel(void) | inline void disable_cancel(void) | ||
{ | { | ||
pthread_setcanceltype(PTHREAD_CANCEL_DISABLE, NULL); | pthread_setcancelstate(PTHREAD_CANCEL_DISABLE, NULL); | ||
} | } | ||
inline void enable_cancel(void) | inline void enable_cancel(void) | ||
{ | { | ||
pthread_setcanceltype(PTHREAD_CANCEL_DISABLE, NULL); | pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL); | ||
} | } | ||
|
No CVS admin address has been configured |
Powered by ViewCVS 0.9.2 |