From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id SAA20075; Wed, 16 Jul 2003 18:57:29 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id SAA15202 for ; Wed, 16 Jul 2003 18:57:28 +0200 (MET DST) Received: from inria.fr (macaque.inria.fr [128.93.8.158]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h6GGvQf05305; Wed, 16 Jul 2003 18:57:26 +0200 (MET DST) Date: Wed, 16 Jul 2003 18:57:25 +0200 Subject: Re: [Caml-list] PortAudio on ocaml Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) Cc: Xavier Leroy , caml-list@inria.fr To: Likai Liu From: Damien Doligez In-Reply-To: Message-Id: <9368FA18-B7AE-11D7-8073-0003930FCE12@inria.fr> Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.552) X-Loop: caml-list@inria.fr X-Spam: no; 0.00; damien:01 caml-list:01 callback:01 dispatching:01 runtime:01 ocaml:01 garbage:01 doligez:01 thread:02 o'caml:02 probably:05 feet:93 fancy:06 okay:07 signals:08 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > 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 caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners