wangzhengquan
2020-08-10 dc5557c7bb411037002e706cb20df0f71d12e5ee
src/util/sem_util.c
@@ -114,7 +114,7 @@
  while (semtimedop(semId, &sops, 1, timeout) == -1)
    if (errno != EINTR) {
      err_msg(errno, "SemUtil::dec_timeout");
     // err_msg(errno, "SemUtil::dec_timeout");
      return -1;
    }
@@ -123,7 +123,6 @@
/* Release semaphore - increment it by 1 */
int SemUtil::inc(int semId) {
logger.debug("%d: SemUtil::inc\n", semId);
  struct sembuf sops;
  sops.sem_num = 0;