phasync\Util\Collections\Queue
class
Documentation
Implementation of a concurrency safe queue.
Inheritance
Implements:
phasync\Interfaces\QueueInterface
phasync\Interfaces\LockInterface
Countable
Uses Traits:
phasync\Util\LockTrait
Properties (4)
private
SplQueue $queue
private
?
object $lockObject
private
?
Fiber $lockHolder
private
int $lockDepth
Methods (7)
Documentation missing
Documentation missing
Documentation missing
Documentation missing
Documentation missing
Documentation missing
Lock the implementing object while the provided Closure is invoked.