SyncReaderWriter::writeunlock
(PECL sync >= 1.0.0)
SyncReaderWriter::writeunlock — Releases a write lock
Описание
public bool SyncReaderWriter::writeunlock
( void
)
Releases a write lock on a SyncReaderWriter object.
Список параметров
У этой функции нет параметров.
Возвращаемые значения
A boolean of TRUE if the unlock operation was successful, FALSE otherwise.
Примеры
Пример #1 SyncReaderWriter::writeunlock() example
<?php
$readwrite = new SyncReaderWriter("FileCacheLock");
$readwrite->writelock();
/* ... */
$readwrite->writeunlock();
?>
Смотрите также
- SyncReaderWriter::writelock() - Waits for an exclusive write lock
Коментарии
404 Not Found