SharedMemory¶
-
php\util\SharedMemory
abstract class
Children
- abstract class php\util\SharedCollection
- class php\util\SharedValue
Methods
synchronize
($callback)¶You can use a shared value as a mutex
Параметры:
- $callback –
callable
- (SharedValue $this)Результат:
mixed
result of execution of $callback