Hello Antony, Thursday, April 1, 2010, 8:52:13 PM, you wrote:
> 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. I'd like to have easily written, decently performing multi-threaded daemon. And the things in between here and there are quite hard to do, but still doable: * native multithreading (my uneducated guess: copy on write / rw-sems on the internals and mutex objects on the language level) * PHP JIT (via LLVM or similar) I do agree with the parent poster that it is a can of worms which can easily shoot you in the foot ;) Some kind of php.ini or #pragma-alike threading directive for the programmer to "unlock" it him/herself would be really smart to be had. > -- > Wbr, > Antony Dovgal > --- > http://pinba.org - realtime statistics for PHP -- Best regards, speedy mailto:speedy.s...@gmail.com -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php