Re: [c++-pthreads] cancellation points report failure
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [c++-pthreads] cancellation points report failure



Nathan Myers wrote:
[...]
> I don't know how to write C library code to maintain invariants 
> against stack unwinding. 

You simply use pthread_cleanup_push/pop.

http://terekhov.de/DESIGN-futex-CV-with-async.cancelable-wait.txt
http://groups.google.com/groups?selm=3EDE1AE2.3A8D0929%40web.de

regards,
alexander.