fix raise semantics with threads.
[musl] / src / signal / restore.c