Hi,

Le mardi 18 janvier 2011 à 23:36 +0100, Hannes Landeholm a écrit :
> Just a simple threading
> implementation with a strictly defined way to IPC would be very helpful.

If you just want to throw some executors and pass messages between them
you can already fork processes with pcntl [1] and pass messages in a
variety of ways with [2][3][4], or just plain files :-)

This is often enough for speeding up batch scripts or creating some
simple servers.

[1] http://php.net/manual/en/function.pcntl-fork.php
[2] http://php.net/manual/en/book.shmop.php
[3] http://php.net/manual/en/book.sem.php
[4] http://php.net/stream_socket_pair

Best Regards,

> 
> On 18 January 2011 23:10, Stas Malyshev <smalys...@sugarcrm.com> wrote:
> 
> > Hi!
> >
> >
> >  Sorry, but that's my topic, and the most well know interpreters that
> >> 'pulled off' threading with shared data are for Java. The interpreter
> >>
> >
> > Given to what complications Java programmers should go to make their
> > threaded code work, I have a lot of doubt that 95% of PHP users would be
> > able to write correct threaded programs. Reasoning about threaded programs
> > is very hard, and IMHO putting it into the beginners language would be a
> > mistake.
> >
> > --
> > Stanislav Malyshev, Software Architect
> > SugarCRM: http://www.sugarcrm.com/
> > (408)454-6900 ext. 227
> >
> > --
> > PHP Internals - PHP Runtime Development Mailing List
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >



-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to