complete src/thrd_mutex.c
add src/thrd_sync.c
add src/thrd_atfork.c