From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id D649FBBE1 for ; Wed, 11 Oct 2006 02:23:41 +0200 (CEST) Received: from smtp.syd.people.net.au (smtp.syd.people.net.au [218.214.225.98]) by concorde.inria.fr (8.13.6/8.13.6) with SMTP id k9B0NdBR017219 for ; Wed, 11 Oct 2006 02:23:40 +0200 Received: (qmail 29225 invoked from network); 11 Oct 2006 00:23:41 -0000 Received: from unknown (HELO coltrane.mega-nerd.net) (218.214.64.136) by smtp.syd.people.net.au with SMTP; 11 Oct 2006 00:23:41 -0000 Received: from coltrane (coltrane [192.168.1.101]) by coltrane.mega-nerd.net (Postfix) with SMTP id 412F57B66 for ; Wed, 11 Oct 2006 10:23:36 +1000 (EST) Date: Wed, 11 Oct 2006 10:23:35 +1000 From: Erik de Castro Lopo To: caml-list@inria.fr Subject: Re: [Caml-list] forking, threads and events Message-Id: <20061011102335.d960782b.mle+ocaml@mega-nerd.com> In-Reply-To: <1160483909.32409.35.camel@localhost.localdomain> References: <20061010221607.7ecc5cba.mle+ocaml@mega-nerd.com> <1160483909.32409.35.camel@localhost.localdomain> Organization: Erik Conspiracy Secret Labs X-Mailer: Sylpheed version 2.2.6 (GTK+ 2.8.18; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Miltered: at concorde with ID 452C398B.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; ocaml:01 threads:01 gerd:01 stolpmann:01 cygwin:01 ocamlnet:01 threads:01 wrote:01 caml-list:01 variant:02 native:02 threaded:03 library:03 fork:03 fork:03 Gerd Stolpmann wrote: > You know that there is no fork on Windows? Yeah, but I was thinking of using the Cygwin version which I think does have fork (and select which is also missing). > If there wasn't the Windows requirement I could recommend this: > > You may have a look at ocamlnet2. It includes the netplex library that > manages parent/children relationships between either forked processes or > threads. You can use SunRPC for communication (or whatever you like, but > SunRPC support is included). The bad news is that it does not run on the > native Windows port, not even in the threaded variant (because there's > no socketpair...). I hate windows. There are so many good, reliable, well designed OSes out there and people on those good OSes still have to work around the fact the the vast majority of people are on a broken piece of crap like windows. Erik -- +-----------------------------------------------------------+ Erik de Castro Lopo +-----------------------------------------------------------+ The main confusion about C++ is that its practitioners think it is simultaneously a high and low level language when in reality it is good at neither.