(PECL sync >= 1.0.0)
Releases a read lock
public bool SyncReaderWriter::readunlock ( void )
Releases a read lock on a SyncReaderWriter object.
Returns:
A boolean of TRUE if the unlock operation was successful, FALSE otherwise.
Examples:
SyncReaderWriter::readunlock() example
<?php
$readwrite = new SyncReaderWriter("FileCacheLock");
$readwrite->readlock();
/* ... */
$readwrite->readunlock();
?>
See also:
Please login to continue.