Mutex ��

(PECL pthreads < 3.0.0)

���

Warning

pthreads v3 ���Ѿ��� Mutex ���Ƴ���

Mutex ���а���һЩֱ�ӷ��� Posix �������ľ�̬����

��ժҪ

Mutex {
/* ���� */
final public static create ([ bool $lock ] ) : int
final public static destroy ( int $mutex ) : bool
final public static lock ( int $mutex ) : bool
final public static trylock ( int $mutex ) : bool
final public static unlock ( int $mutex [, bool $destroy ] ) : bool
}

Table of Contents