void Ns_MutexLock ( Ns_Mutex *mutexPtr );
Acquire the mutex. If the mutex is already locked then the current thread will block until the mutex is unlocked. Note: mutexes are not recursive. If the current thread tries to lock the mutex twice in a row, it will block or get an error depending on the platform.