Results of 1 - 10 of about 20 for SyncMutex (0.001 sec.)
- Constructs a new SyncMutex object 10875
- « SyncMutex SyncMutex::lock » PHP Manual SyncMutex Constructs a new SyncMutex object 検索 SyncMutex::__construct (PECL sync >= 1.0.0) SyncMutex::__construct — Constructs a new SyncMutex object 説明 public function SyncMutex::__construct ( s
... urrent user that the process is running as or an exception will be thrown with a meaningless error message. 戻り値 The new SyncMutex object. エラー / 例外 An exception is thrown if the mutex cannot be created or opened. 例 例1 SyncMutex::__construct() nam ... ed mutex with lock timeout example <?php $mutex = new SyncMutex ( "UniqueName" ); if (! $mutex -> lock ( 3000 )) { echo "Unable to lock mutex." ; exit(); } /* ... */ $mutex -> unlock (); ... ?> 例2 SyncMutex::__construct() unnamed mutex example <?php $mutex = new SyncMutex (); $mutex -> lock (); /* ... */ $mutex -> unlock (); ?> ...
-
https://man.mtool.work/php/8.3/syncmutex.construct.html
- Constructs a new SyncMutex object 10875
- « SyncMutex SyncMutex::lock » PHP Manual SyncMutex Constructs a new SyncMutex object 検索 SyncMutex::__construct (PECL sync >= 1.0.0) SyncMutex::__construct — Constructs a new SyncMutex object 説明 public function SyncMutex::__construct ( s
... urrent user that the process is running as or an exception will be thrown with a meaningless error message. 戻り値 The new SyncMutex object. エラー / 例外 An exception is thrown if the mutex cannot be created or opened. 例 例1 SyncMutex::__construct() nam ... ed mutex with lock timeout example <?php $mutex = new SyncMutex ( "UniqueName" ); if (! $mutex -> lock ( 3000 )) { echo "Unable to lock mutex." ; exit(); } /* ... */ $mutex -> unlock (); ... ?> 例2 SyncMutex::__construct() unnamed mutex example <?php $mutex = new SyncMutex (); $mutex -> lock (); /* ... */ $mutex -> unlock (); ?> ...
-
https://man.mtool.work/php/8.3/syncmutex.construct.html
- Waits for an exclusive lock 10468
- « SyncMutex::__construct SyncMutex::unlock » PHP Manual SyncMutex Waits for an exclusive lock 検索 SyncMutex::lock (PECL sync >= 1.0.0) SyncMutex::lock — Waits for an exclusive lock 説明 public function SyncMutex::lock ( int $wait = -1 ): b
... ool Obtains an exclusive lock on a SyncMutex object. If the lock is already acquired, then this increments an internal counter. パラメータ wait The number of milliseco ... for the exclusive lock. A value of -1 is infinite. 戻り値 成功した場合に true を、失敗した場合に false を返します。 例 例1 SyncMutex::lock() example <?php $mutex = new SyncMutex ( "UniqueName" ); if (! $mutex -> lock ( 3000 )) { echo "Unable to lock mutex ... ." ; exit(); } /* ... */ $mutex -> unlock (); ?> 参考 SyncMutex::unlock() - Unlocks the mutex 関連キーワード: lock SyncMutex exclusive mutex Waits unlock wait 場合 construct Search sync ...
-
https://man.mtool.work/php/8.3/syncmutex.lock.html
- Waits for an exclusive lock 10468
- « SyncMutex::__construct SyncMutex::unlock » PHP Manual SyncMutex Waits for an exclusive lock 検索 SyncMutex::lock (PECL sync >= 1.0.0) SyncMutex::lock — Waits for an exclusive lock 説明 public function SyncMutex::lock ( int $wait = -1 ): b
... ool Obtains an exclusive lock on a SyncMutex object. If the lock is already acquired, then this increments an internal counter. パラメータ wait The number of milliseco ... for the exclusive lock. A value of -1 is infinite. 戻り値 成功した場合に true を、失敗した場合に false を返します。 例 例1 SyncMutex::lock() example <?php $mutex = new SyncMutex ( "UniqueName" ); if (! $mutex -> lock ( 3000 )) { echo "Unable to lock mutex ... ." ; exit(); } /* ... */ $mutex -> unlock (); ?> 参考 SyncMutex::unlock() - Unlocks the mutex 関連キーワード: lock SyncMutex exclusive mutex Waits unlock wait construct sync Obtains alre ...
-
https://man.mtool.work/php/8.3/syncmutex.lock.html
- Unlocks the mutex 10400
- « SyncMutex::lock SyncSemaphore » PHP Manual SyncMutex Unlocks the mutex 検索 SyncMutex::unlock (PECL sync >= 1.0.0) SyncMutex::unlock — Unlocks the mutex 説明 public function SyncMutex::unlock ( bool $all = false ): bool Decreases the inte
... rnal counter of a SyncMutex object. When the internal counter reaches zero, the actual lock on the object is released. パラメータ all Specifies whethe ... al counter to zero and therefore release the lock. 戻り値 成功した場合に true を、失敗した場合に false を返します。 例 例1 SyncMutex::unlock() example <?php $mutex = new SyncMutex ( "UniqueName" ); $mutex -> lock (); /* ... */ $mutex -> unlock (); ?> 参考 ... SyncMutex::lock() - Waits for an exclusive lock 関連キーワード: SyncMutex mutex lock unlock Unlocks internal counter bool false obje ...
-
https://man.mtool.work/php/8.3/syncmutex.unlock.html
- Unlocks the mutex 10400
- « SyncMutex::lock SyncSemaphore » PHP Manual SyncMutex Unlocks the mutex 検索 SyncMutex::unlock (PECL sync >= 1.0.0) SyncMutex::unlock — Unlocks the mutex 説明 public function SyncMutex::unlock ( bool $all = false ): bool Decreases the inte
... rnal counter of a SyncMutex object. When the internal counter reaches zero, the actual lock on the object is released. パラメータ all Specifies whethe ... al counter to zero and therefore release the lock. 戻り値 成功した場合に true を、失敗した場合に false を返します。 例 例1 SyncMutex::unlock() example <?php $mutex = new SyncMutex ( "UniqueName" ); $mutex -> lock (); /* ... */ $mutex -> unlock (); ?> 参考 ... SyncMutex::lock() - Waits for an exclusive lock 関連キーワード: SyncMutex mutex lock unlock Unlocks internal counter SyncSemaphore s ...
-
https://man.mtool.work/php/8.3/syncmutex.unlock.html
- The SyncMutex class 10094
- « インストール手順 SyncMutex::__construct » PHP Manual Sync The SyncMutex class 検索 The SyncMutex class (PECL sync >= 1.0.0) はじめに A cross-platform, native implementation of named and unnamed countable mutex objects. A mutex is a mutual
... x is unlocked as soon as it goes out of scope or is unlocked the same number of times that it was locked. クラス概要 class SyncMutex { /* メソッド */ public function __construct ( string $name = ? ) public function lock ( int $wait = -1 ): bool public fun ... ction unlock ( bool $all = false ): bool } 目次 SyncMutex::__construct — Constructs a new SyncMutex object SyncMutex::lock — Waits for an exclusive lock SyncMutex::unlock — Unlocks ... the mutex 関連キーワード: SyncMutex mutex construct lock single number times locked unlocked unlock Sync sync cross platform native implementation named unnam ...
-
https://man.mtool.work/php/8.3/class.syncmutex.html
- The SyncMutex class 10060
- « インストール手順 SyncMutex::__construct » PHP Manual Sync The SyncMutex class 検索 The SyncMutex class (PECL sync >= 1.0.0) はじめに A cross-platform, native implementation of named and unnamed countable mutex objects. A mutex is a mutual
... x is unlocked as soon as it goes out of scope or is unlocked the same number of times that it was locked. クラス概要 class SyncMutex { /* メソッド */ public function __construct ( string $name = ? ) public function lock ( int $wait = -1 ): bool public fun ... ction unlock ( bool $all = false ): bool } 目次 SyncMutex::__construct — Constructs a new SyncMutex object SyncMutex::lock — Waits for an exclusive lock SyncMutex::unlock — Unlocks ... the mutex 関連キーワード: SyncMutex mutex class construct function lock bool object single number times locked unlocked unlock インストール 手順 Search Sync s ...
-
https://man.mtool.work/php/8.3/class.syncmutex.html
- Sync 8547
- « Shmop インストール/設定 » PHP Manual プロセス制御 Sync 検索 Sync はじめに The sync extension introduces cross-platform synchronization objects into PHP. Named and unnamed Mutex, Semaphore, Event, Reader-Writer, and named Shared Memory obj
... nsistent state until the next reboot or a system administrator cleans up the mess. インストール/設定 要件 インストール手順 SyncMutex — The SyncMutex class SyncMutex::__construct — Constructs a new SyncMutex object SyncMutex::lock — Waits for an exclusive ... lock SyncMutex::unlock — Unlocks the mutex SyncSemaphore — The SyncSemaphore class SyncSemaphore::__construct — Constructs a new SyncSema ... ::write — Copy data to named shared memory 関連キーワード: object SyncReaderWriter SyncSharedMemory objects lock SyncEvent SyncMutex SyncSemaphore named class construct Constructs new synchronization Waits shared memory Sync インストール extension ...
-
https://man.mtool.work/php/8.3/book.sync.html
- Sync 8547
- « Shmop インストール/設定 » PHP Manual プロセス制御 Sync 検索 Sync はじめに The sync extension introduces cross-platform synchronization objects into PHP. Named and unnamed Mutex, Semaphore, Event, Reader-Writer, and named Shared Memory obj
... nsistent state until the next reboot or a system administrator cleans up the mess. インストール/設定 要件 インストール手順 SyncMutex — The SyncMutex class SyncMutex::__construct — Constructs a new SyncMutex object SyncMutex::lock — Waits for an exclusive ... lock SyncMutex::unlock — Unlocks the mutex SyncSemaphore — The SyncSemaphore class SyncSemaphore::__construct — Constructs a new SyncSema ... dMemory::write — Copy data to named shared memory 関連キーワード: SyncReaderWriter SyncSharedMemory objects lock SyncEvent SyncMutex SyncSemaphore named construct Constructs synchronization Waits shared memory Sync extension event read write Named script ...
-
https://man.mtool.work/php/8.3/book.sync.html