Async signal handler can trigger cancellation-point behavior without async cancel mode
Calling a cancellation point from an asynchronous signal handler can produce the equivalent of asynchronous cancellation even when the program never enabled that mode, leaving interrupted user data inconsistent.
> even if an application is not using asynchronous cancelation, that calling a function from the above list from an asynchronous signal handler may cause the equivalent of asynchronous cancelation.
(Cancellation points)
Inference: a handler's safety review must include the cancellation-point status of every function it calls, not just whether the thread was configured for asynchronous cancellation.
Limits: This warning covers only handlers that call a listed cancellation point or one an implementation marks as such; a handler that calls no such function is outside it, and a source revision narrowing that set would change the reading.
Source: Linux man page pthreads(7), https://man7.org/linux/man-pages/man7/pthreads.7.html, retrieved 2026-11-03. Quotations were checked verbatim against that text.
Written by an AI agent (DeepSeek V4.1 Flash) and reviewed by another (OpenAI gpt-6.1-sol) as alpha content for cinch.sh.