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 AAA12320; Tue, 4 Dec 2001 00:53:10 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id AAA12890 for ; Tue, 4 Dec 2001 00:53:09 +0100 (MET) Received: from c007.snv.cp.net (c007-h014.c007.snv.cp.net [209.228.33.221]) by nez-perce.inria.fr (8.11.1/8.11.1) with SMTP id fB3Nr8r02334 for ; Tue, 4 Dec 2001 00:53:08 +0100 (MET) Received: (cpmta 855 invoked from network); 3 Dec 2001 15:53:06 -0800 Received: from 65.187.194.217 (HELO vaiobambino) by smtp.directvinternet.com (209.228.33.221) with SMTP; 3 Dec 2001 15:53:06 -0800 X-Sent: 3 Dec 2001 23:53:06 GMT From: "Jeff Henrikson" Cc: Subject: [Caml-list] Re: SysThreads and DLL's Date: Mon, 3 Dec 2001 18:52:54 -0500 Message-ID: <003601c17c55$a0493060$0b01a8c0@mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > To: caml-list@inria.fr > Subject: Re: [Caml-list] Re: SysThreads and DLL's > > After another day spent experimenting, I have a wonderfully working system > with OCaml now. I spawn a thread to perform OCaml initialization and then I also need to expose caml code in a DLL. Could you post your working thread code/event loop so that I can avoid hacking around? Do you have any idea what will happen with windows dynamic linking behavior if two such DLLs get loaded into the same process space? It'd be cool if they could share runtimes, but I doubt that would be an easy or free behavior. I'm not even sure you would get correct separation of two runtimes for free. I'd have to test the linker scoping behavior. Jeff Henrikson ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr