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
Bu işleme şunda yer alıyor:
Bill(Shuzhou) Liu authored and Shuzhou Liu committed 2022-11-22 10:30:58 -05:00
1 ebeveyn e7ed902fd6
işleme 76b5528feb
2 files changed
+53 -2

No files matched your search

+1 -1
Dosyayı Görüntüle
@@ -41,10 +41,10 @@
*
*/
#include <pthread.h>
#include <unistd.h>
#include <sys/types.h>
#include <assert.h>
#include <sys/stat.h>
#include <stdint.h>