PHP » GoLang |
login |
register |
about
|
GoLang SyncReaderWriter::readlock
request it (330)
GoLang replacement for PHP's SyncReaderWriter::readlock
[edit | history]
PHP SyncReaderWriter::readlockPHP original manual for SyncReaderWriter::readlock [ show | php.net ]SyncReaderWriter::readlock(PECL sync >= 1.0.0) SyncReaderWriter::readlock — Waits for a read lock Description
public bool SyncReaderWriter::readlock
([ int
$wait = -1
] )Obtains a read lock on a SyncReaderWriter object. Parameters
Return ValuesA boolean of TRUE if the lock was obtained, FALSE otherwise. ExamplesExample #1 SyncReaderWriter::readlock() example
<?php See Also
|
more
Recently updated
more
Most requested
more
Last requests
|