Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:15217 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 8166 invoked by uid 1010); 27 Feb 2005 16:40:22 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 8150 invoked from network); 27 Feb 2005 16:40:22 -0000 Received: from unknown (HELO nsrd.sinp.msu.ru) (127.0.0.1) by localhost with SMTP; 27 Feb 2005 16:40:22 -0000 X-Host-Fingerprint: 213.131.2.2 nsrd.sinp.msu.ru Linux 2.4/2.6 Received: from ([213.131.2.2:1259] helo=nsrd.sinp.msu.ru) by pb1.pair.com (ecelerity HEAD r(5124)) with SMTP id 88/B6-43672-5F7F1224 for ; Sun, 27 Feb 2005 11:40:21 -0500 Received: from vvs_php (helo=localhost) by nsrd.sinp.msu.ru with local-esmtp (Exim 4.30) id 1D5Rmk-0008If-FU for internals@lists.php.net; Sun, 27 Feb 2005 20:00:50 +0300 Date: Sun, 27 Feb 2005 20:00:50 +0300 (MSK) To: internals@lists.php.net Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: call_user_function in multithread env. From: vvs_php@nsrd.sinp.msu.ru (Vadka) Hi! Is it possible to call_user_function in multithreaded environment? (for now, it brings the line "Killed" when executing such a code; Linux) So, I like: func(){ .... call_user_function(); } ...... PHP_FUNCTION(oops){ ..... pthread_create(...func...); }