Re: Multithreading
| From: | Bart de Boer | Date: | Thu, 08 Dec 2005 01:31:57 +0000 |
| Subject: | Re: Multithreading | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-21091@lists.php.net to get a copy of this message | ||
Ilia Alshanetsky wrote:
You don't need threads, you can use fork() for that. On *nix systems it is very fast, nearly as fast as threads and much safer to boot. And you can already do forking in PHP via PCNTL extension's pcntl_fork() function. IliaThat sounds sufficient enough. Although I guess this only works on *nix systems? Platform independence is one of the main reasons I prefer PHP over other languages.