Threaded ��

(PECL pthreads >= 2.0.0)

���

Threaded �����ṩ֧�� pthreads �����Ļ������ܣ�����ͬ�������Լ������Գ���Ա���а����Ľӿڡ�

��Ҫ���ǣ�Threaded �ṩ����ʽ���̰߳�ȫ���ƣ���������е����в��������̰߳�ȫ�ġ�

��ժҪ

Threaded implements Collectable , Traversable , Countable , ArrayAccess {
/* ���� */
public chunk ( int $size , bool $preserve ) : array
public count ( void ) : int
public extend ( string $class ) : bool
public from ( Closure $run [, Closure $construct [, array $args ]] ) : Threaded
public getTerminationInfo ( void ) : array
public isRunning ( void ) : bool
public isTerminated ( void ) : bool
public isWaiting ( void ) : bool
public lock ( void ) : bool
public merge ( mixed $from [, bool $overwrite ] ) : bool
public notify ( void ) : bool
public notifyOne ( void ) : bool
public pop ( void ) : bool
public run ( void ) : void
public shift ( void ) : boolean
public synchronized ( Closure $block [, mixed $... ] ) : mixed
public unlock ( void ) : bool
public wait ([ int $timeout ] ) : bool
}

Table of Contents