From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <85139cb0363c3b2b1f14746d68b9ff59@plan9.bell-labs.com> From: David Presotto To: 9fans@cse.psu.edu Subject: Re: [9fans] Fork: useless and painful? In-Reply-To: <006601c3471d$7a06de40$b9844051@insultant.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-kiikoralsifnuuyhdrwjglnwlv" Date: Thu, 10 Jul 2003 20:05:53 -0400 Topicbox-Message-UUID: f4bddf94-eacb-11e9-9e20-41e7f4b1d025 This is a multi-part message in MIME format. --upas-kiikoralsifnuuyhdrwjglnwlv Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Not to mention the fact that you have to send/receive on sockets and read/write on everything else so that an app has to check the type of any handles it is passed so that it can use the right calls. --upas-kiikoralsifnuuyhdrwjglnwlv Content-Type: message/rfc822 Content-Disposition: inline Received: from plan9.cs.bell-labs.com ([135.104.9.2]) by plan9; Thu Jul 10 16:00:06 EDT 2003 Received: from mail.cse.psu.edu ([130.203.4.6]) by plan9; Thu Jul 10 16:00:04 EDT 2003 Received: by mail.cse.psu.edu (CSE Mail Server, from userid 60001) id 1EC6D199E1; Thu, 10 Jul 2003 15:58:24 -0400 (EDT) Received: from psuvax1.cse.psu.edu (psuvax1.cse.psu.edu [130.203.23.6]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 0A67519A04; Thu, 10 Jul 2003 15:58:11 -0400 (EDT) X-Original-To: 9fans@cse.psu.edu Delivered-To: 9fans@cse.psu.edu Received: by mail.cse.psu.edu (CSE Mail Server, from userid 60001) id D2BB419AC5; Thu, 10 Jul 2003 15:57:37 -0400 (EDT) Received: from smtp.noos.fr (nan-smtp-04.noos.net [212.198.2.73]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id EE4AA199FD for <9fans@cse.psu.edu>; Thu, 10 Jul 2003 15:57:25 -0400 (EDT) Received: (qmail 26041966 invoked by uid 0); 10 Jul 2003 19:57:24 -0000 Received: from unknown (HELO coma) ([81.64.132.185]) (envelope-sender ) by 212.198.2.73 (qmail-ldap-1.03) with SMTP for <9fans@cse.psu.edu>; 10 Jul 2003 19:57:24 -0000 Message-ID: <006601c3471d$7a06de40$b9844051@insultant.net> From: "boyd, rounin" To: <9fans@cse.psu.edu> References: <5b68877f993232fb23394caf30309e12@plan9.bell-labs.com> <3F0DC049.7030300@place.org> Subject: Re: [9fans] Fork: useless and painful? MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Sender: 9fans-admin@cse.psu.edu Errors-To: 9fans-admin@cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.0.11 Precedence: bulk Reply-To: 9fans@cse.psu.edu List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Archive: Date: Thu, 10 Jul 2003 21:57:22 +0200 X-Spam-Status: No, hits=-0.5 required=5.0 tests=REFERENCES version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) > Where is the joy in computing? Win32 is making me wonder. been there, done that. a repeat of SysVile (sic) R3: you could select on a socket or poll on a stream, but they would not interoperate on NT you need to call WaitForMultipleObjects() iirc and that doesn't work on WinShlock (sic) sockets etc, so you have to use a threaded implementation. for extra points, if the NT CreateSocket() call finds that you are _not_ WinShlock (sic) the call fails and returns -6 iirc. --upas-kiikoralsifnuuyhdrwjglnwlv--