1
0
mirror of https://github.com/danog/parallel.git synced 2025-01-22 14:01:14 +01:00

Update docs

This commit is contained in:
coderstephen 2015-08-03 15:11:58 -05:00
parent 5cd8353fcc
commit e2577a6ab1

View File

@ -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.
*