hi when implementing a connection that stays open for a long time ( comet ), how would i implement signalling between php proses(outstanding requests)??
example timeline:
i was wandering if ther was a methode whitch use less(noting?) cpu prosessing
If your platform is Linux/Unix, you can use queues.
Whith semaphores you can do this without sleep()
even, but it will be more difficult to code.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With