|
Threaded::synchronizedSynchronization Beschreibung
public mixed Threaded::synchronized
( Closure
$block
[, mixed $...
] )Executes the block while retaining the referenced objects synchronization lock for the calling context Parameter-Liste
RückgabewerteThe return value from the block Beispiele
Beispiel #1 Synchronizing
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe: bool(true) |