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