pthread_atfork