SharedMemory

php\util\SharedMemory

abstract class

Children


Methods


synchronize($callback)

You can use a shared value as a mutex

Parameters:
  • $callbackcallable - (SharedValue $this)
Returns:

mixed result of execution of $callback