This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Determining cancellation points in glibc


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]