summaryrefslogtreecommitdiff
path: root/libguile/coop-pthreads.h
diff options
context:
space:
mode:
authorMikael Djurfeldt <djurfeldt@nada.kth.se>2002-11-14 17:17:40 +0000
committerMikael Djurfeldt <djurfeldt@nada.kth.se>2002-11-14 17:17:40 +0000
commit7673491416d0f9df68e7d4c58288836cc86846ee (patch)
tree70fe6b2e75c6be57551f8de74f18864ace458a6c /libguile/coop-pthreads.h
parent8b5b4a758c8014d9ba9ff1aa3734c8ebb85e95d9 (diff)
downloadguile-7673491416d0f9df68e7d4c58288836cc86846ee.tar.gz
* coop-pthreads.c, coop-pthreads.h: scm_internal_select should be
part of the API, otherwise it's difficult to write Guile extensions using non-blocking I/O => moved #include "libguile/iselect.h" from coop-pthreads.c --> coop-pthreads.h. * coop-pthreads.c (scm_unlock_mutex): Changed s_lock_mutex --> s_unlock_mutex.
Diffstat (limited to 'libguile/coop-pthreads.h')
-rw-r--r--libguile/coop-pthreads.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libguile/coop-pthreads.h b/libguile/coop-pthreads.h
index 62c34c73c..c789694d4 100644
--- a/libguile/coop-pthreads.h
+++ b/libguile/coop-pthreads.h
@@ -53,6 +53,8 @@
#include <pthread.h>
+#include "libguile/iselect.h"
+
#if (SCM_ENABLE_DEPRECATED == 1)
/* Thread local data support --- generic C API */