Documentation

Class Phalcon\Sync\Mutex

Source on GitHub

Methods

public __construct ([string $name])

Phalcon\Sync\Mutex constructor

public lock ([unknown $wait])

Locks a mutex object

public unlock ([boolean $all])

Unlocks a mutex object