|
Threaded::synchronizedSynchronization Description
public mixed Threaded::synchronized(Closure
$block , mixed ...$args )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
The above example will output: bool(true) |