Bart de Boer wrote: > 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. >> >> Ilia > > > That 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.
fork() works on windows as well, but on Win32 forking is MUCH slower then threads. Ilia -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php