normal exit from timer thread should run dtors, restore cancel state
[musl] / src / stdlib / labs.c
1 long labs(long a)
2 {
3         return a>0 ? a : -a;
4 }