equivalent of perl's ithread

From: Date: Sat, 11 Mar 2006 10:33:31 +0000
Subject: equivalent of perl's ithread
Groups: php.general 
Request: Send a blank email to php-general+get-231782@lists.php.net to get a copy of this message
As of perl 5.6, perl has a concept of interpreter thread (called ithread). Basically, any variable that you want to be shared across threads, you have to explicitly shared it. This apply not only to regular variables, but also apply to super global variables such as $_, making it easy to write threadsafe modules in perl. Does PHP has an equivalent concept? If I am developing php pages that are to be run under apache2 threaded worker mpm, can I use $_SERVER variable ? Thanks Khai

« previous php.general (#231782) next »