From d69e2a2ed12d639cca99a4718250aacd6579987c Mon Sep 17 00:00:00 2001
From: fujuntang <fujuntang@smartai.com>
Date: 星期日, 10 十月 2021 13:33:50 +0800
Subject: [PATCH] Add the deadlock detect feature.

---
 src/svsem.h |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/svsem.h b/src/svsem.h
index 2b7a079..1a71e45 100644
--- a/src/svsem.h
+++ b/src/svsem.h
@@ -12,8 +12,9 @@
 
 int svsem_trywait(int semid)  ;
 
-int svsem_timedwait(const int semid, const struct timespec *timeout) ;
+int svsem_timedwait(int semid, struct timespec *timeout) ;
 
+int svsem_uni_wait(int semid) ;
 /* Release semaphore - increment it by 1 */
 int svsem_post(int semid) ;
 
@@ -32,7 +33,7 @@
 
 int svsem_zero_nowait(int semid) ;
 
-int svsem_zero_timeout(const int semid, const struct timespec *timeout)  ;
+int svsem_zero_timeout(int semid, struct timespec *timeout)  ;
 
 
 

--
Gitblit v1.8.0