Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:21091 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 13460 invoked by uid 1010); 8 Dec 2005 01:30:49 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 13444 invoked from network); 8 Dec 2005 01:30:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Dec 2005 01:30:49 -0000 X-Host-Fingerprint: 194.109.253.196 mediawave.xs4all.nl Received: from ([194.109.253.196:2668] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id B4/71-14828-9CC87934 for ; Wed, 07 Dec 2005 20:30:49 -0500 Message-ID: To: internals@lists.php.net Date: Thu, 08 Dec 2005 02:31:57 +0100 User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 References: <22.BF.14828.12287934@pb1.pair.com> <43978448.9020004@prohost.org> In-Reply-To: <43978448.9020004@prohost.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 194.109.253.196 Subject: Re: [PHP-DEV] Multithreading From: bart@mediawave.nl (Bart de Boer) Ilia Alshanetsky wrote: > You don't need threads, you can use fork() for that. On *nix systems it > is very fast, nearly as fast as threads and much safer to boot. And you > can already do forking in PHP via PCNTL extension's pcntl_fork() function. > > Ilia That sounds sufficient enough. Although I guess this only works on *nix systems? Platform independence is one of the main reasons I prefer PHP over other languages.