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