Query: syncreaderwriter
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SYNCREADERWRITER(3) 1 SYNCREADERWRITER(3) The SyncReaderWriter classINTRODUCTIONA 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 SYNOPSISSyncReaderWriter 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)