pthread_mutex_unlock needs to use _rel semantics for atomic ops.