PHP Interface Icicle\Concurrent\Sync\Mutex

Objects that implement this interface should guarantee that all operations are atomic. Implementations do not have to guarantee that acquiring a lock is first-come, first serve.
Mostrar archivo Open project: icicleio/concurrent

Public Methods

Method Description
acquire ( ) : Generator

Method Details

acquire() public method

public acquire ( ) : Generator
return Generator Resolves with a lock object when the acquire is successful.