PHP Class Icicle\Concurrent\Threading\Mutex

Compatible with POSIX systems and Microsoft Windows.
Inheritance: implements Icicle\Concurrent\Sync\MutexInterface
Datei anzeigen Open project: icicleio/concurrent Class Usage Examples

Public Methods

Method Description
__clone ( ) Makes a copy of the mutex in the unlocked state.
__construct ( ) Creates a new threaded mutex.
acquire ( ) : Generator

Private Methods

Method Description
init ( ) Initializes the mutex.

Method Details

__clone() public method

Makes a copy of the mutex in the unlocked state.
public __clone ( )

__construct() public method

Creates a new threaded mutex.
public __construct ( )

acquire() public method

public acquire ( ) : Generator
return Generator