Function Mutex.lock
Enter critical section. If the mutex is already locked, block the thread until it becomes available
int lock();
Enter critical section. If the mutex is already locked, block the thread until it becomes available
int lock();