PHP Class Icicle\Concurrent\Threading\Internal\Mutex

Inheritance: extends Threaded
Afficher le fichier Open project: icicleio/concurrent Class Usage Examples

Méthodes publiques

Méthode Description
acquire ( ) : Generator Attempts to acquire the lock and sleeps for a time if the lock could not be acquired.

Méthodes protégées

Méthode Description
release ( ) Releases the lock.

Method Details

acquire() public méthode

Attempts to acquire the lock and sleeps for a time if the lock could not be acquired.
public acquire ( ) : Generator
Résultat Generator

release() protected méthode

Releases the lock.
protected release ( )