A kernel-level thread wishes to acquire a mutex lock declared as global in the process. True or False: the function call used below causes the thread to block at this point, if the mutex lock is already acquired by a different thread. int resultcode -pthread mutex_trylock (myMutex);

True
False

Respuesta :

Answer:

  1. A kernel-level thread wishes to acquire a mutex lock declared as global in the process.  "True"  
  2. The function call used below causes the thread to block at this point, if the mutex lock is already acquired by a different thread. int resultcode -pthread mutex_trylock (myMutex). "False"