From de80ed87b8339f23624642786698057a62bdf779 Mon Sep 17 00:00:00 2001 From: fujuntang <fujuntang@smartai.com> Date: 星期二, 23 十一月 2021 11:25:48 +0800 Subject: [PATCH] Fix the communication failure issue when the registered applications exceeds the fixed amount. --- 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