Determining cancellation points in glibc
Carlos O'Donell
carlos@systemhalted.org
Tue Nov 25 13:56:00 GMT 2008
On Mon, Nov 24, 2008 at 3:49 PM, Loic Domaigne <tech@domaigne.com> wrote:
> I came to similar conclusions. But what about composite functions like
> printf(), scanf() etc.?
Good point.
5. Any C code contains a cancellation point if it calls functions from
1-4 which contains a cancellation point.
6. Any C code which sets the thread cancellation state to enabled and
calls pthread_testcancel() to create a cancellation point.
I think that's all the conditions?
Cheers,
Carlos.
More information about the Libc-help
mailing list