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 WAA22008; Tue, 23 Jul 2002 22:09:42 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id WAA22014 for caml-list@pauillac.inria.fr; Tue, 23 Jul 2002 22:09:42 +0200 (MET DST) 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 TAA21880 for ; Sat, 20 Jul 2002 19:14:29 +0200 (MET DST) Received: from host07.ipowerweb.com (host07.ipowerweb.com [12.129.206.107]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g6KHESv16914 for ; Sat, 20 Jul 2002 19:14:28 +0200 (MET DST) Received: from ca-redbch-cuda1-c2b-29.stmnca.adelphia.net ([68.68.192.29] helo=homebox) by host07.ipowerweb.com with asmtp (Exim 3.35 #1) id 17Vxnj-0007ne-00 for caml-list@inria.fr; Sat, 20 Jul 2002 10:13:51 -0700 From: "Francois Rouaix" To: Subject: [Caml-list] native threads, connect Date: Sat, 20 Jul 2002 10:17:11 -0700 Organization: rouaix.org Message-ID: <000e01c23011$4a0c1bc0$ca01a8c0@homebox> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host07.ipowerweb.com X-AntiAbuse: Original Domain - inria.fr X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [0 0] X-AntiAbuse: Sender Address Domain - rouaix.org Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hi all, I'm upgrading some very old network code of mine to Ocaml 3.05, and I'm getting confused about the behavior of connect() in=20 bytecode threads vs. native threads.=20 As you know, to get a yieldable connect, you put a socket in non-blocking mode, connect, and wait for the socket to be writable. That is how connect is written in otherlibs/threads/unix.ml. Now on the other hand otherlibs/systhreads does not=20 have a specific unix.ml that defines a connect(). Which unix.ml is used when compiling with -threads with bytecode and native compilers (with Ocaml configured in native threads)? --f ------------------- 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