(PECL sync >= 1.0.0)
SyncReaderWriter::readunlock — Releases a read lock
Releases a read lock on a SyncReaderWriter object.
This function has no parameters.
Returns true on success or false on failure.
true
false
Example #1 SyncReaderWriter::readunlock() example
<?php $readwrite = new SyncReaderWriter("FileCacheLock"); $readwrite->readlock(); /* ... */ $readwrite->readunlock(); ?>