SyncReaderWriter::writelockWaits for an exclusive write lock Description
public bool SyncReaderWriter::writelock
([ integer
$wait = -1
] )Obtains an exclusive write lock on a SyncReaderWriter object. Parameters
Return ValuesA boolean of TRUE if the lock was obtained, FALSE otherwise. ExamplesExample #1 SyncReaderWriter::writelock example
<?php See Also
|