How can one use multi threading in php applications

Posted by Steve Obbayi on Stack Overflow See other posts from Stack Overflow or by Steve Obbayi
Published on 2008-09-16T09:56:31Z Indexed on 2011/02/19 23:25 UTC
Read the original article Hit count: 154

Filed under:
|

Is there a realistic way of implementing a multi-threaded model in php whether truly or just simulating it. Some time back it was suggested that you can force the operating system to load another instance of the php executable and handle other simultaneous processes.

The problem with this is that when the php code finished executing the php instance remains in memory because there is no way to kill it from within php. so if you are simulating several threads you can imagine whats going to happen. So am still looking for a way multi-threading can be done or simulated effectively from within php. Any ideas?

© Stack Overflow or respective owner

Related posts about php

Related posts about multithreading