Why does PHP put inter-thread communication methods wait() and notify() in the Object class instead of the Thread class?

Started by Koby, November 17, 2016, 07:04:54 PM

Previous topic - Next topic

Jay

Hi all, I would like to submit an urgent question, why does php put inter-thread communication methods wait() and notify() in the object class instead of the thread class? It is urgent, thank you very much give me your opinion quickly.