normal exit from timer thread should run dtors, restore cancel state
[musl] / src / thread / __unmapself.c