[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2001-04-02 (19:46) |
From: | David Brown <caml-list@d...> |
Subject: | [Caml-list] Garbage collection and threads. |
I'm writing some bindings to zlib (compression library) and was wondering how the garbage collector would work with threading. The zlib library needs two buffers, one to get data from, and one to put data in. Is it safe to pass the result of String_val(x) into a C routine? If I have threads running, could the garbage collector run while my C routine is running? Thanks, Dave Brown ------------------- To unsubscribe, mail caml-list-request@inria.fr. Archives: http://caml.inria.fr