Re: Official Linux system wrapper library?

From: Florian Weimer
Date: Wed Nov 14 2018 - 10:07:29 EST


* Andy Lutomirski:

> Thread cancellation is a big mess, and we only really need to support
> it because on legacy code. The whole mechanism should IMO be
> considered extremely deprecated.

The part regarding legacy code is not true: people write new code using
it all the time. It's true that this feature is difficult to use, and
it is often employed in cases where it is not needed or
counterproductive. However, there are cases where code becomes simpler.

Thanks,
Florian