summaryrefslogtreecommitdiffstats
path: root/byterun
diff options
context:
space:
mode:
authorPierre Weis <Pierre.Weis@inria.fr>2008-09-27 21:16:29 +0000
committerPierre Weis <Pierre.Weis@inria.fr>2008-09-27 21:16:29 +0000
commit232a8a00728e81bcdaf1bf9d1752ebaadf42efcc (patch)
tree9dcc4341df59ed5e47f0d8e0c5f98907e9b43046 /byterun
parent579eb1e41e2390ef88c4f3878eabd38b8dfc3fe8 (diff)
caml_all_opened_channels must be exported for systhreads/posix.c
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9041 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'byterun')
-rw-r--r--byterun/io.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/byterun/io.h b/byterun/io.h
index 127c4c1c5..d02a5a72f 100644
--- a/byterun/io.h
+++ b/byterun/io.h
@@ -102,6 +102,8 @@ CAMLextern void (*caml_channel_mutex_lock) (struct channel *);
CAMLextern void (*caml_channel_mutex_unlock) (struct channel *);
CAMLextern void (*caml_channel_mutex_unlock_exn) (void);
+CAMLextern struct channel * caml_all_opened_channels;
+
#define Lock(channel) \
if (caml_channel_mutex_lock != NULL) (*caml_channel_mutex_lock)(channel)
#define Unlock(channel) \