On 01.04.2010 22:38, Stanislav Malyshev wrote: > If you do, how you control access to them? Hello locks and the whole can > of worms! Most people that think they can program in threads actually > are just pushing their luck until some complex interaction leaves their > app malfunctioning in a bizarre way and them without any means to debug > it.
Well, I don't agree with the statement above, but I do believe that if you're competent enough to use threads, then you're competent enough to write in C/C++. Not to mention that a high-performance multi-threaded daemon written in PHP is a total nonsense - that's exactly the task C/C++ do much better/faster. -- Wbr, Antony Dovgal --- http://pinba.org - realtime statistics for PHP -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php