pthreads
PHP Manual

Cond 类

(PECL pthreads < 3.0.0)

简介

Warning

pthreads v3 中已经将 Cond 类移除。

Cond 类中的静态方法可以用来直接访问 Posix 的条件变量。

类摘要

Cond {
/* 方法 */
final public static bool broadcast ( int $condition )
final public static int create ( void )
final public static bool destroy ( int $condition )
final public static bool signal ( int $condition )
final public static bool wait ( int $condition , int $mutex [, int $timeout ] )
}

Table of Contents


pthreads
PHP Manual