major improvements to cancellation handling
[musl] / src / thread / cancellation2.c