mirror of
https://github.com/danog/parallel.git
synced 2025-01-22 14:01:14 +01:00
Update docs
This commit is contained in:
parent
5cd8353fcc
commit
e2577a6ab1
@ -7,21 +7,21 @@ namespace Icicle\Concurrent;
|
||||
interface SynchronizableInterface
|
||||
{
|
||||
/**
|
||||
* Acquires a lock on the context.
|
||||
* Acquires a lock on the object.
|
||||
*
|
||||
* @return \Icicle\Promise\PromiseInterface
|
||||
*/
|
||||
public function lock();
|
||||
|
||||
/**
|
||||
* Unlocks the context.
|
||||
* Unlocks the object.
|
||||
*
|
||||
* @return \Icicle\Promise\PromiseInterface
|
||||
*/
|
||||
public function unlock();
|
||||
|
||||
/**
|
||||
* Invokes a function while maintaining a lock for the calling context.
|
||||
* Invokes a function while maintaining a lock on the object.
|
||||
*
|
||||
* @param callable $callback The function to invoke.
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user