mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-21 06:49:05 +03:00
multi-threading: Fix no_recursive_check issue
This commit is contained in:
1 parent
1afe621cf5
commit
f64d16919f
1 file changed
-1
@@ -351,7 +351,6 @@ int coap_lock_lock_func(void);
|
||||
#define coap_lock_callback_ret(r,func) do { \
|
||||
coap_lock_check_locked(); \
|
||||
global_lock.in_callback++; \
|
||||
global_lock.in_callback++; \
|
||||
(r) = func; \
|
||||
global_lock.in_callback--; \
|
||||
} while (0)
|
||||
|
||||
Reference in new issue
Block a user