First version of mutex.