Remove the shared mutex if no process is using it
If the code is crashed and the mutex may be in bad status. The user has to mannually remove it. The fix will remove the shared mutex if no process is using it. Change-Id: I18bf562f2e0a7de8b3f0cccf72d60950b0d9bb2d
Este cometimento está contido em:
1 ascendente
e7ed902fd6
cometimento
76b5528feb
2 ficheiros modificados
+53
-2
Não existem ficheiros que correspondam à sua pesquisa
@@ -41,10 +41,10 @@
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
#include <pthread.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <assert.h>
|
||||
#include <sys/stat.h>
|
||||
#include <stdint.h>
|
||||
|
||||
Criar uma nova questão referindo esta
Bloquear um utilizador