Mutex 类
(PECL pthreads < 3.0.0)
简介
Warning
pthreads v3 中已经将 Mutex 类移除。
Mutex 类中包含一些直接访问 Posix 互斥量的静态方法
类摘要
Mutex
{
final
public
static
long
create
([
boolean
$lock
] )
final
public
static
boolean
destroy
(
long
$mutex
)
final
public
static
boolean
lock
(
long
$mutex
)
final
public
static
boolean
trylock
(
long
$mutex
)
final
public
static
boolean
unlock
(
long
$mutex
[,
boolean
$destroy
] )
}
Table of Contents
User Contributed Notes
There are no user contributed notes for this page.