|
Stackable::synchronizedSynchronization Description
final public mixed Stackable::synchronized
( Closure
$block
[, mixed $...
] )Executes the block while retaining the synchronization lock for the current context. Parameters
Return ValuesThe return value from the block Examples
Example #1 Synchronizing
<?php The above example will output: bool(/** true or false **/) |