Re: Threads

From: Date: Thu, 01 Nov 2007 19:08:11 +0000
Subject: Re: Threads
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-263946@lists.php.net to get a copy of this message
Stéphane Boisvert wrote:
Greetings everyone, I was wondering where I could find information on the status and possibilities of threads being included in PHP. Or if you are knowledge-able on the status of threads, if it is a planned addition or not and the reasons as such. I understand PHP is not thread safe, that the core is thread safe but many required extensions are not. Is there a road map to this?
Being thread safe and being able to use threads are two different things. PHP 5 *is* thread safe, but a great many extensions are not. PHP is never likely to support threads. Remember that the majority of PHP usage is in the context of web requests. There are a great many issues the crop up when you consider adding threading to an Apache module, and I'm sure the same is true of most of the other SAPIs. Hope that helps. -Stut -- http://stut.net/

« previous php.general (#263946) next »