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