SYNCREADERWRITER(3) 1 SYNCREADERWRITER(3)
The SyncReaderWriter class
INTRODUCTION
A cross-platform, native implementation of named and unnamed reader-writer objects.
A reader-writer object allows many readers or one writer to access a resource. This is an efficient solution for managing resources where
access will primarily be read-only but exclusive write access is occasionally necessary.
CLASS SYNOPSIS
SyncReaderWriter
SyncReaderWriter
Methods
o public SyncReaderWriter::__construct ([string $name], [bool $autounlock])
o public bool SyncReaderWriter::readlock ([integer $wait])
o public bool SyncReaderWriter::readunlock (void )
o public bool SyncReaderWriter::writelock ([integer $wait])
o public bool SyncReaderWriter::writeunlock (void )
PHP Documentation Group SYNCREADERWRITER(3)