Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:13838 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 41632 invoked by uid 1010); 14 Nov 2004 15:49:04 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 41532 invoked from network); 14 Nov 2004 15:49:03 -0000 Received: from unknown (HELO iko.gotobg.net) (80.168.8.116) by pb1.pair.com with SMTP; 14 Nov 2004 15:49:03 -0000 Received: from pd95199f3.dip.t-dialin.net ([217.81.153.243]:39212 helo=[192.168.0.36]) by iko.gotobg.net with esmtpa (Exim 4.43) id 1CTMcj-0006it-TA; Sun, 14 Nov 2004 17:49:06 +0200 Message-ID: <41977C73.7070707@hristov.com> Date: Sun, 14 Nov 2004 16:40:35 +0100 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8a5) Gecko/20041102 X-Accept-Language: en-us, en MIME-Version: 1.0 To: overight@free.fr CC: internals@lists.php.net References: <41977D96.1020501@free.fr> In-Reply-To: <41977D96.1020501@free.fr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - iko.gotobg.net X-AntiAbuse: Original Domain - lists.php.net X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - hristov.com X-Source: X-Source-Args: X-Source-Dir: Subject: Re: [PHP-DEV] php_fork(); From: php@hristov.com (Andrey Hristov) Try pcntl_fork() and the ext/pcntl extension (*nix only but I heard someting about cygphp which uses Cygwin and has ext/pcntl for windows). Andrey overight wrote: > Hello > > What about fork() in php ? > > I have tried to understand c language yesterday, and I have write that > in /ext/standard/basic_functions.c: > > PHP_FUNCTION(php_fork){ > fork(); > } > > (and a few lines to decalare this function) > > And it's work ! > Now I can fork my php scripts with the php_fork() function :) > > Is it possible to hope that a same function will come in futures > versions of php ? >