Modifiers
Mutex::create
pthreads
PHP Manual

# The Mutex class

(PECL pthreads >= 0.34)

## Introdução

The static methods contained in the Mutex class provide direct access to Posix Mutex functionality.

## Sinopse da classe

Mutex {
/* Métodos */
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` ] )
}

## Índice

- Mutex::create — Create a Mutex
- Mutex::destroy — Destroy Mutex
- Mutex::lock — Acquire Mutex
- Mutex::trylock — Attempt to Acquire Mutex
- Mutex::unlock — Release Mutex

Modifiers
Mutex::create
pthreads
PHP Manual