mirror of
https://github.com/open62541/open62541.git
synced 2025-06-03 04:00:21 +00:00
feat(multithreading): Prevent use of thread-safe (locked) functions inside the server
This gives a warn if a function is used that can potentially lead to a deadlock.
This commit is contained in:
parent
0be24bcd93
commit
46270f270d
@ -28,6 +28,11 @@
|
|||||||
|
|
||||||
_UA_BEGIN_DECLS
|
_UA_BEGIN_DECLS
|
||||||
|
|
||||||
|
#if UA_MULTITHREADING >= 100
|
||||||
|
#undef UA_THREADSAFE
|
||||||
|
#define UA_THREADSAFE UA_DEPRECATED
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef UA_ENABLE_PUBSUB
|
#ifdef UA_ENABLE_PUBSUB
|
||||||
#include "ua_pubsub_manager.h"
|
#include "ua_pubsub_manager.h"
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user