mutex的意思和读音

mutex

1. must mutex name ...

:,,,

1.The slot's connection is checked to see if it is blocked or disconnected, and then the connection's mutex is unlocked.

2.The name of the system mutex whose access control security rules are to be retrieved.访mutex

3.Then, when a thread is ready to terminate, it locks the mutex, decrements threadcount, and unlocks the mutex.线threadcount,

4.The code between the lock and unlock calls to the mutex, is referred to as the critical section.

5.Therefore, at the end of it all, you now have two reader threads, both waiting on the condition variable, and the mutex is unlocked.线

6.If the calling thread has no ownership of this mutex, this function fails.线

7.As you can see, pthread_mutex_init accepts a pointer to an already-allocated region of memory to initialize as a mutex.,pthread_mutex_init

8.Mutual exclusion (most often referred to as mutex) allows the programmer to "attach" locks to resources.mutex)

9.A mutex provides exclusive access control for a resource between threads, as shown in.线访

10.It also allows you to unlock the mutex and wait on the condition variable atomically, without the possible intervention of another thread.(atomically)线