Implement initMutex

Turns out it does the same thing as releaseMutex (in this
implementation anyway).