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] PortAudio on ocaml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-07-16 (17:47)
From: Likai Liu <liulk@b...>
Subject: Re: [Caml-list] PortAudio on ocaml
is a "leave_blocking_section()" call enough to guarentee that?


On Wednesday, July 16, 2003, at 12:57  PM, Damien Doligez wrote:

>> I think garbage collection inside the callback is probably okay, if 
>> it doesn't do other fancy things, such as dispatching signals or 
>> influence thread scheduling. What does O'Caml runtime do during 
>> garbage collection?
> Garbage collection inside the callback is probably OK, if you can 
> guarantee
> that the callback does not occur during garbage collection, or any 
> other
> operation that assumes that memory doesn't move under its feet.
> -- Damien

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: