Fixes a bug in _pthread_init that blocks notifs