Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Garbage collection and threads.
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Vijay Chakravarthy <vchakravarthy@v...>
Subject: Re: [Caml-list] Garbage collection and threads.
Hi David,

If I'm not mistaken, there is a zlib binding in the mlswf library published
to the list a month ago.
It would be nice to have a standalone zlib binding as well, helps with
things like pdf parsing etc.


----- Original Message -----
From: "David Brown" <>
To: <>
Sent: Monday, April 02, 2001 12:46 PM
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  Archives:

To unsubscribe, mail  Archives: