Thread
PHP Manual

Thread::notify

(PECL pthreads >= 0.0.33)

Thread::notifyNotify all Threads waiting for the referenced Thread.

说明

final public boolean Thread::notify ( void )

Notify all Threads waiting for the referenced Thread causing the waiting Threads to continue executing. A call to notify when no Threads are waiting results in blocking until another context calls Thread::wait on the referenced Thread.

参数

此函数没有参数。

返回值

A boolean indication of success.


Thread
PHP Manual