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 PAA07377; Thu, 29 Mar 2001 15:06: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 PAA07278 for ; Thu, 29 Mar 2001 15:06:28 +0200 (MET DST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.11.1/8.10.0) with ESMTP id f2TD6Q922829; Thu, 29 Mar 2001 15:06:26 +0200 (MET DST) Received: (from xleroy@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id PAA07373; Thu, 29 Mar 2001 15:06:26 +0200 (MET DST) Date: Thu, 29 Mar 2001 15:06:26 +0200 From: Xavier Leroy To: =?iso-8859-1?Q?_S=E9bastien_Pierre_?= Cc: CaML List Subject: Re: [Caml-list] BeOS Thread or Systhread libs Message-ID: <20010329150626.B6876@pauillac.inria.fr> References: <3ab0f59e3ab1ce62@antholoma.wanadoo.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <3ab0f59e3ab1ce62@antholoma.wanadoo.fr>; from kaze@mail.netcourrier.com on Thu, Mar 15, 2001 at 06:01:58PM +0100 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > Well, while still trying to compile findlib I ran into a problem with > the Mutex module. I know that BeOS has no pthread support for now... > but isn't it possible to port the scheduler.c file to BeOS. I looked briefly into this some time ago, and it seemed easier to port the "system threads" library (the one that builds upon OS-level threads) than the "bytecode threads" library (the one that performs its own scheduling at the level of the virtual machine, i.e. the scheduler.c file). One reason is that the bytecode-level scheduler is rather Unix-specific, in particular it assumes that select() works on all kinds of file descriptors, not just sockets, and I think this is one point where BeOS departs from Unix. If anyone wants to attempt a BeOS port of the system threads library, I can answer questions about this, but I lack time and motivation to do it myself. - Xavier Leroy ------------------- To unsubscribe, mail caml-list-request@inria.fr. Archives: http://caml.inria.fr