pthread_once: fix mutex_unlock to allow recursion

Unlock the __once_mutex before calling the specified function
to avoid deadlock on recursive calls, as apparently can
happen in the C++ STL.

Fix from Robert David <davidrob@fit.cvut.cz>.
1 file changed