hook mi_force_{un,}lock on OSX instead of pthread_atfork This is patch by Anton Samokhvalov. Apparently it helps with locking around forking on OSX.