wangzhengquan
2021-02-03 f1ae0552e2d50ce6f87a0bad2f31b8e2ec617bb7
include/usgcommon/sem_util.h
@@ -1,5 +1,5 @@
#ifndef PCSEM_H
#define PCSEM_H
#ifndef _SEM_UTIL_H
#define _SEM_UTIL_H
#include "usg_common.h"
#include "usg_typedef.h"
@@ -14,9 +14,12 @@
   int zero_nowait(int semId);
   int zero_timeout(const int semId, const struct timespec * timeout);
   int inc(int semId);
   int set(int semId, int val);
   void remove(int semid);
   void set(int semId, int val);
}