Re: php and multithreading (additional arguments)
| From: | Antony Dovgal | Date: | Thu, 01 Apr 2010 18:52:13 +0000 |
| Subject: | Re: php and multithreading (additional arguments) | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-47709@lists.php.net to get a copy of this message | ||
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