rewrite __synccall in terms of global thread list
[musl] / crt / crtn.c