From a6f67b4249525089fb97eb9418c7014f66c2a000 Mon Sep 17 00:00:00 2001 From: lichao <lichao@aiotlink.com> Date: 星期三, 28 四月 2021 19:29:17 +0800 Subject: [PATCH] use new robust mutex, circurar; rm timeout mutex. --- src/bh_api.h | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/bh_api.h b/src/bh_api.h index 4d6846e..e196aa6 100644 --- a/src/bh_api.h +++ b/src/bh_api.h @@ -36,7 +36,9 @@ int *reply_len, const int timeout_ms); -int BHQueryTopicAddress(const void *topics, +int BHQueryTopicAddress(const void *remote, + const int remote_len, + const void *topics, const int topics_len, void **reply, int *reply_len, @@ -113,7 +115,7 @@ const void *reply, const int reply_len); -// int BHCleanUp(); +int BHCleanup(); void BHFree(void *buf, int size); -- Gitblit v1.8.0