summaryrefslogtreecommitdiff
path: root/src/calcurse.h
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2011-04-12 19:27:59 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2011-04-19 11:42:33 +0200
commitd668963e2056027526374098efe2869a0d389b92 (patch)
tree06d744eff86c969e58e8e54cee3113e01cd5f830 /src/calcurse.h
parent612204a60a632db1e411738bb988d80d4f7772b4 (diff)
downloadcalcurse-d668963e2056027526374098efe2869a0d389b92.zip
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>
Diffstat (limited to 'src/calcurse.h')
-rw-r--r--src/calcurse.h1
1 files changed, 1 insertions, 0 deletions
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