Add macros to use for thread-safe linked lists.
Add LLIST_TS_* macros in a fashion similar to the already existing LLIST_* macros. Unlike the non-thread-safe version, these include LLIST_TS_LOCK and LLIST_TS_UNLOCK which can be used to lock (and unlock) a list (hence the thread-safety). Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
This commit is contained in:
@@ -56,6 +56,7 @@
|
||||
|
||||
#include "llist.h"
|
||||
#include "htable.h"
|
||||
#include "llist_ts.h"
|
||||
|
||||
/* Internationalization. */
|
||||
#if ENABLE_NLS
|
||||
|
||||
Reference in New Issue
Block a user