Re: [Qemu-devel] [PATCH 2/3] qemu-thread: add cleanup_push() and cleanup_pop()

2010-06-02 Thread Paul Brook
> From pthread man: > > These functions manipulate the calling thread's stack of > thread-cancellation clean-up handlers. A clean-up handler is > a function that is automatically executed when a thread is canceled > [...] it might, for example, unlock a mutex so that it becomes > availab

[Qemu-devel] [PATCH 2/3] qemu-thread: add cleanup_push() and cleanup_pop()

2010-05-29 Thread Corentin Chary
>From pthread man: These functions manipulate the calling thread's stack of thread-cancellation clean-up handlers. A clean-up handler is a function that is automatically executed when a thread is canceled [...] it might, for example, unlock a mutex so that it becomes available to other t