Results of 1 - 8 of about 8 for SyncReaderWriter (0.001 sec.)
- SyncReaderWriter::__construct — Constructs a new SyncReaderWriter object | PHP ... 10971
- SyncReaderWriter::__construct (PECL sync >= 1.0.0) SyncReaderWriter::__construct — Constructs a new SyncReaderWriter object 説明 public function SyncReaderWriter::__construct ( string $name = ? , int $autounlock = 1 ) Constructs a named or
... concludes before the object is unlocked, then the underlying objects will end up in an inconsistent state. 戻り値 The new SyncReaderWriter object. エラー / 例外 An exception is thrown if the reader-writer cannot be created or opened. 例 例1 SyncReaderWriter::__ ... construct() example <?php $readwrite = new SyncReaderWriter ( "FileCacheLock" ); $readwrite -> readlock (); /* ... */ $readwrite -> readunlock (); $readwrite -> writelock (); /* ... ... */ $readwrite -> writeunlock (); ?> 参考 SyncReaderWriter::readlock() - Waits for a read lock SyncReaderWriter::readunlock() - Releases a read lock SyncReaderWriter::writelock() - ...
-
https://man.mtool.work/php/8.3/syncreaderwriter.construct.html
- The SyncReaderWriter class | PHP 8.3 9796
- The SyncReaderWriter class (PECL sync >= 1.0.0) はじめに 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
... resources where access will primarily be read-only but exclusive write access is occasionally necessary. クラス概要 class SyncReaderWriter { /* メソッド */ public function __construct ( string $name = ? , int $autounlock = 1 ) public function readlock ( int $wa ... unction readunlock (): bool public function writelock ( int $wait = -1 ): bool public function writeunlock (): bool } 目次 SyncReaderWriter::__construct — Constructs a new SyncReaderWriter object SyncReaderWriter::readlock — Waits for a read lock SyncReaderWrite ... r::readunlock — Releases a read lock SyncReaderWriter::writelock — Waits for an exclusive write lock SyncReaderWriter::writeunlock — Releases a write lock 他のマニュアルの関連ペ ...
-
https://man.mtool.work/php/8.3/class.syncreaderwriter.html
- SyncReaderWriter::readunlock — Releases a read lock | PHP 8.3 9742
- SyncReaderWriter::readunlock (PECL sync >= 1.0.0) SyncReaderWriter::readunlock — Releases a read lock 説明 public function SyncReaderWriter::readunlock (): bool Releases a read lock on a SyncReaderWriter object. パラメータ この関数にはパラメ
... ータはありません。 戻り値 成功した場合に true を、失敗した場合に false を返します。 例 例1 SyncReaderWriter::readunlock() example <?php $readwrite = new SyncReaderWriter ( "FileCacheLock" ); $readwrite -> readlock (); /* ... */ $r ... eadwrite -> readunlock (); ?> 参考 SyncReaderWriter::readlock() - Waits for a read lock 他のマニュアルの関連ページ Linux JM lock(2) ...
-
https://man.mtool.work/php/8.3/syncreaderwriter.readunlock.html
- SyncReaderWriter::writeunlock — Releases a write lock | PHP 8.3 9742
- SyncReaderWriter::writeunlock (PECL sync >= 1.0.0) SyncReaderWriter::writeunlock — Releases a write lock 説明 public function SyncReaderWriter::writeunlock (): bool Releases a write lock on a SyncReaderWriter object. パラメータ この関数には
... パラメータはありません。 戻り値 成功した場合に true を、失敗した場合に false を返します。 例 例1 SyncReaderWriter::writeunlock() example <?php $readwrite = new SyncReaderWriter ( "FileCacheLock" ); $readwrite -> writelock (); /* ... */ ... $readwrite -> writeunlock (); ?> 参考 SyncReaderWriter::writelock() - Waits for an exclusive write lock 他のマニュアルの関連ページ Linux JM lock(2) ...
-
https://man.mtool.work/php/8.3/syncreaderwriter.writeunlock.html
- SyncReaderWriter::readlock — Waits for a read lock | PHP 8.3 9561
- SyncReaderWriter::readlock (PECL sync >= 1.0.0) SyncReaderWriter::readlock — Waits for a read lock 説明 public function SyncReaderWriter::readlock ( int $wait = -1 ): bool Obtains a read lock on a SyncReaderWriter object. パラメータ wait Th
... nds to wait for a lock. A value of -1 is infinite. 戻り値 成功した場合に true を、失敗した場合に false を返します。 例 例1 SyncReaderWriter::readlock() example <?php $readwrite = new SyncReaderWriter ( "FileCacheLock" ); $readwrite -> readlock (); /* ... */ $rea ... dwrite -> readunlock (); ?> 参考 SyncReaderWriter::readunlock() - Releases a read lock 他のマニュアルの関連ページ Linux JM wait(2) Linux JM lock(2) Docker docker wait ...
-
https://man.mtool.work/php/8.3/syncreaderwriter.readlock.html
- SyncReaderWriter::writelock — Waits for an exclusive write lock | PHP 8.3 9561
- SyncReaderWriter::writelock (PECL sync >= 1.0.0) SyncReaderWriter::writelock — Waits for an exclusive write lock 説明 public function SyncReaderWriter::writelock ( int $wait = -1 ): bool Obtains an exclusive write lock on a SyncReaderWriter
... nds to wait for a lock. A value of -1 is infinite. 戻り値 成功した場合に true を、失敗した場合に false を返します。 例 例1 SyncReaderWriter::writelock() example <?php $readwrite = new SyncReaderWriter ( "FileCacheLock" ); $readwrite -> writelock (); /* ... */ $r ... eadwrite -> writeunlock (); ?> 参考 SyncReaderWriter::writeunlock() - Releases a write lock 他のマニュアルの関連ページ Linux JM wait(2) Linux JM lock(2) Docker docker wait ...
-
https://man.mtool.work/php/8.3/syncreaderwriter.writelock.html
- Sync | PHP 8.3 8260
- Sync はじめに The sync extension introduces cross-platform synchronization objects into PHP. Named and unnamed Mutex, Semaphore, Event, Reader-Writer, and named Shared Memory objects provide OS-level synchronization on both POSIX (e.g. Linu
... fire — Fires/sets the event SyncEvent::reset — Resets a manual event SyncEvent::wait — Waits for the event to be fired/set SyncReaderWriter — The SyncReaderWriter class SyncReaderWriter::__construct — Constructs a new SyncReaderWriter object SyncReaderWriter::re ... adlock — Waits for a read lock SyncReaderWriter::readunlock — Releases a read lock SyncReaderWriter::writelock — Waits for an exclusive write lock SyncReaderWriter::write ...
-
https://man.mtool.work/php/8.3/book.sync.html
- プロセス制御 | PHP 8.3 4609
- プロセス制御 Eio インストール/設定 定義済み定数 例 Eio 関数 Ev インストール/設定 例 ウォッチャー ウォッチャーのコールバック Periodic ウォッチャーの操作モード Ev — Ev クラス EvCheck — EvCheck クラス EvChild — EvChild クラス EvEmbed — EvEmbed
... インストール/設定 SyncMutex — The SyncMutex class SyncSemaphore — The SyncSemaphore class SyncEvent — The SyncEvent class SyncReaderWriter — The SyncReaderWriter class SyncSharedMemory — The SyncSharedMemory class 他のマニュアルの関連ページ Linux JM expect(1) L ...
-
https://man.mtool.work/php/8.3/refs.fileprocess.process.html
PREV
1
NEXT