Re: threads extension

From: Date: Wed, 15 Aug 2007 08:24:32 +0000
Subject: Re: threads extension
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-4851@lists.php.net to get a copy of this message
On 8/15/07, Alan Knowles <alan@akbkhome.com> wrote: > from what I remember: > - thread include almost worked, although was a bit buggy in terms of > rejoining at exit. > > were there any technical problems which original authors couldn't > > solve at that time? > The whole issue of passing data between threads, and the fact that it > behaves completely differently to how you would expect threads to work > (eg. shared resources, etc.). Made the thing rather pointless.. Most of > this would be next to impossible to solve, given PHP's core design. > You would need to significantly redesign the core engine to do things like: > - Fixed, flat, simple opcode store, that did not store any context > information. > - Scopes that could be accessed in a simple way, and locked etc. > Hope this gives you a flavor of the issues.. thanks, Alan. that gives me something to start with -- Alexey Zakhlestin http://blog.milkfarmsoft.com/

« previous php.pecl.dev (#4851) next »