From owner-freebsd-hackers Wed Nov 13 14:28:51 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA21701 for hackers-outgoing; Wed, 13 Nov 1996 14:28:51 -0800 (PST) Received: from pdx1.world.net (pdx1.world.net [192.243.32.18]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id OAA21681 for ; Wed, 13 Nov 1996 14:28:28 -0800 (PST) Received: from suburbia.net (suburbia.net [203.4.184.1]) by pdx1.world.net (8.7.5/8.7.3) with ESMTP id OAA03086; Wed, 13 Nov 1996 14:28:19 -0800 (PST) Received: (proff@localhost) by suburbia.net (8.7.4/Proff-950810) id JAA16234; Thu, 14 Nov 1996 09:27:56 +1100 From: Julian Assange Message-Id: <199611132227.JAA16234@suburbia.net> Subject: Re: Programming technique for non-forking servers? To: jgreco@brasil.moneng.mei.com (Joe Greco) Date: Thu, 14 Nov 1996 09:27:56 +1100 (EST) Cc: hackers@freebsd.org In-Reply-To: <199611131448.IAA23190@brasil.moneng.mei.com> from "Joe Greco" at Nov 13, 96 08:48:55 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > In the case of a "complex" server, i.e. something like an Xserver or > MUD, but probably not a Web server, you probably need to use state machine > concepts. This is not "difficult", the only real problem is mastering > the concept of state machines. > The problem with user-level state machines or multi-threading is that it doesn't take advantage of multiple cpu's. Kernel level support for threading may address this. -- "Of all tyrannies a tyranny sincerely exercised for the good of its victims may be the most oppressive. It may be better to live under robber barons than under omnipotent moral busybodies, The robber baron's cruelty may sometimes sleep, his cupidity may at some point be satiated; but those who torment us for own good will torment us without end, for they do so with the approval of their own conscience." - C.S. Lewis, _God in the Dock_ +---------------------+--------------------+----------------------------------+ |Julian Assange RSO | PO Box 2031 BARKER | Secret Analytic Guy Union | |proff@suburbia.net | VIC 3122 AUSTRALIA | finger for PGP key hash ID = | |proff@gnu.ai.mit.edu | FAX +61-3-98199066 | C7F81C2AA32D7D4E4D360A2ED2098E0D | +---------------------+--------------------+----------------------------------+