[PHP-DEV] Process/Thread question

2002-04-05 Thread Eric Liedtke
Hello, I'm about 1 week past the reading of the php extensions section of the manual and have been working on some ext stuff and had an implementation type question. I did read the fairly recent thread on threading support in php.Which I believe I grokked, however does php being non-reentrant mea

Re: [PHP-DEV] Process/Thread question

2002-04-05 Thread Daniel Lorch
Hi, > Eric Liedtke <[EMAIL PROTECTED]> > [..] However, I am a little in the dark on what my options > are for spawning off a new process/thread that will continue working in > the background so the exported function can return in the script and go > on it's merry way. I'm hoping a more experienc

Re: [PHP-DEV] Process/Thread question

2002-04-05 Thread Eric Liedtke
Daniel Lorch wrote: > Hi, > > > Eric Liedtke <[EMAIL PROTECTED]> > > [..] However, I am a little in the dark on what my options > > are for spawning off a new process/thread that will continue working in > > the background so the exported function can return in the script and go > > on it's mer

Re: [PHP-DEV] Process/Thread question

2002-04-05 Thread Wez Furlong
If you are running as a cgi or cli, take a look at the pcntl extension. If you are running under apache, you must use heavy-weight "threading" by running an external/separate process and communicating with some IPC mechanism. The best solution depends on what exactly you want to do and the enviro