From d668963e2056027526374098efe2869a0d389b92 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Tue, 12 Apr 2011 19:27:59 +0200 Subject: 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 --- src/calcurse.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/calcurse.h') diff --git a/src/calcurse.h b/src/calcurse.h index 8c9d894..f6f5898 100644 --- a/src/calcurse.h +++ b/src/calcurse.h @@ -56,6 +56,7 @@ #include "llist.h" #include "htable.h" +#include "llist_ts.h" /* Internationalization. */ #if ENABLE_NLS -- cgit v1.2.3-54-g00ecf