SyncReaderWriter::readunlock
(PECL sync >= 1.0.0)
SyncReaderWriter::readunlock — Releases a read lock
Descrição
Releases a read lock on a SyncReaderWriter object.
Parâmetros
Esta função não possui parâmetros.
Exemplos
Example #1 SyncReaderWriter::readunlock() example
<?php
$readwrite = new SyncReaderWriter("FileCacheLock");
$readwrite->readlock();
/* ... */
$readwrite->readunlock();
?>
Veja Também
- SyncReaderWriter::readlock() - Waits for a read lock