Results of 1 - 10 of about 20 for mutex (0.001 sec.)
- Constructs a new SyncMutex object 12014
- « 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
... tring $name = ? ) Constructs a named or unnamed countable mutex. パラメータ name The name of the mutex if this is a named mutex object. 注意 : If the name already exists, it must be able ... nt 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 ...
-
https://man.mtool.work/php/8.3/syncmutex.construct.html
- Constructs a new SyncMutex object 12014
- « 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
... tring $name = ? ) Constructs a named or unnamed countable mutex. パラメータ name The name of the mutex if this is a named mutex object. 注意 : If the name already exists, it must be able ... nt 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 ...
-
https://man.mtool.work/php/8.3/syncmutex.construct.html
- The SyncMutex class 10179
- « インストール手順 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
... exclusion object that restricts access to a shared resource (e.g. a file) to a single instance. Countable mutexes acquire the mutex a single time and internally track the number of times the mutex is locked. The mutex is unlocked as s ... oon 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 ...
-
https://man.mtool.work/php/8.3/class.syncmutex.html
- The SyncMutex class 10145
- « インストール手順 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
... exclusion object that restricts access to a shared resource (e.g. a file) to a single instance. Countable mutexes acquire the mutex a single time and internally track the number of times the mutex is locked. The mutex is unlocked as s ... oon 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 ...
-
https://man.mtool.work/php/8.3/class.syncmutex.html
- Unlocks the mutex 9805
- « 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 ... ounter 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 9805
- « 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 ... ounter 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
- Waits for an exclusive lock 9720
- « 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 ... 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 ...
-
https://man.mtool.work/php/8.3/syncmutex.lock.html
- Waits for an exclusive lock 9686
- « 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 ... 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 ...
-
https://man.mtool.work/php/8.3/syncmutex.lock.html
- Construct a Swoole Channel 7749
- « Swoole\Channel Swoole\Channel::__destruct » PHP Manual Swoole\Channel Construct a Swoole Channel 検索 Swoole\Channel::__construct (PECL swoole >= 1.9.0) Swoole\Channel::__construct — Construct a Swoole Channel 説明 public function Swoole\
... ( string $size ) Swoole channel is memory data structure works like Chan in Golang, implemented based on shared memory and mutex locks. It can be used as high performance message queue in memory. Construct a swoole channel with a fixed size. The minim ... Channel size Construct channel memory construct swoole destruct structure works like Chan Golang implemented based shared mutex locks used high performance message queue fixed minimum ...
-
https://man.mtool.work/php/8.3/swoole-channel.construct.html
- The parallel\Sync class 7630
- « parallel\Events\Event\Type parallel\Sync::__construct » PHP Manual parallel The parallel\Sync class 検索 The parallel\Sync class (1.1.0) Low Level Synchronization The parallel\Sync class provides access to low level synchronization primit
... ives, mutex, condition variables, and allows the implementation of semaphores. Synchronization for most applications is much better im ... zation construct level scalar Access access wait notify invoke Events Event Type Level provides synchronization primitives mutex condition variables allows implementation semaphores most ...
-
https://man.mtool.work/php/8.3/class.parallel-sync.html