rewrite __synccall in terms of global thread list
[musl] / src / thread / tls.c