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