PHP » GoLang |
login |
register |
about
|
Mutex::create(PECL pthreads < 3.0.0) Mutex::create — Create a Mutex Warning
The Mutex class has been removed in pthreads v3. Description
final
public
static
int
Mutex::create
([
bool
$lock
] )Create, and optionally lock a new Mutex for the caller Parameters
Return ValuesA newly created and optionally locked Mutex handle Examples
Example #1 Mutex Creation and Destruction
<?php The above example will output: int(40096976) |
more
Recently updated
more
Most requested
more
Last requests
|