summaryrefslogtreecommitdiff
path: root/libguile/threads-plugin.c
diff options
context:
space:
mode:
authorMikael Djurfeldt <djurfeldt@nada.kth.se>2002-12-19 08:00:23 +0000
committerMikael Djurfeldt <djurfeldt@nada.kth.se>2002-12-19 08:00:23 +0000
commitb7b6a116e66a8315917724d66240428f050f6c7e (patch)
tree99596133e3f7f152569207953d4a861425cba4bd /libguile/threads-plugin.c
parent9ed246339f66374da3045934593dcbb1d306a428 (diff)
downloadguile-b7b6a116e66a8315917724d66240428f050f6c7e.tar.gz
Added back two macros used when debugging. (Got lost by mistake during
a recent change.)
Diffstat (limited to 'libguile/threads-plugin.c')
-rw-r--r--libguile/threads-plugin.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libguile/threads-plugin.c b/libguile/threads-plugin.c
index e6671daf1..08bb3eee7 100644
--- a/libguile/threads-plugin.c
+++ b/libguile/threads-plugin.c
@@ -60,6 +60,11 @@ int (*scm_i_plugin_cond_timedwait) (scm_t_cond *,
scm_t_mutex *,
const struct timespec *);
+#ifdef SCM_DEBUG_THREADS
+#define FAST_MUTEX 1
+#define REC_MUTEX 2
+#endif
+
typedef struct rec_mutex {
#ifdef SCM_DEBUG_THREADS
int kind;