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