On 4/26/08, Marcus Bointon <[EMAIL PROTECTED]> wrote: > On 26 Apr 2008, at 19:17, till wrote: > > > > This is how: > > http://de.php.net/pcntl > > > > Looks pretty interesting. :) > > > > > It is - I've been using it for years in some daemons, and it works great > (especially with shmop stuff too), but there's no threading in there, just > processes. If that's what's behind it, perhaps a more accurate name would be > Zend_Process or Zend_Multiprocess?
Indeed. Calling this "Threading" is a major misnomer. Threading would imply it has access to the same address space and descriptor table. That is not the case if this uses fork. But I would also like to here some use-cases. I don't doubt that there are use-cases but I'm just very curious as to what they are. My instinct is to say "bad form!". It's very hard to control and communicate with a child process after you start it. Collecting the exit status, making sure you don't just end up with a bunch of zombies, what do you do if the process gets stuck ... It can be rather delicate. Mike -- Michael B Allen PHP Active Directory SPNEGO SSO http://www.ioplex.com/
