Async cacellation and pthread_cleanup_push

Zack Weinberg zack@owlfolio.org
Wed Aug 4 18:43:06 GMT 2021


On Wed, Aug 4, 2021, at 9:58 AM, Andreas Schwab wrote:
> Is pthread_cleanup_push supposed to work together with async
> cancellation?

Do you mean, is it supported for a sync cancellation to be enabled at the point of a call to pthread_cleanup_push? I am pretty sure that isn’t required to work and I would expect it to have race windows that are difficult to close.

zw


More information about the Libc-alpha mailing list