simplify setting result on thread cancellation
[oweals/musl.git] / src / thread / cancellation3.c