PHP Class Icicle\Concurrent\Threading\Mutex

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

Méthodes publiques

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

Private Methods

Méthode Description
init ( ) Initializes the mutex.

Method Details

__clone() public méthode

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

__construct() public méthode

Creates a new threaded mutex.
public __construct ( )

acquire() public méthode

public acquire ( ) : Generator
Résultat Generator