Results of 1 - 10 of about 18 for SyncSemaphore (0.001 sec.)
- Constructs a new SyncSemaphore object 10586
- « SyncSemaphore SyncSemaphore::lock » PHP Manual SyncSemaphore Constructs a new SyncSemaphore object 検索 SyncSemaphore::__construct (PECL sync >= 1.0.0) SyncSemaphore::__construct — Constructs a new SyncSemaphore object 説明 public functio
... n SyncSemaphore::__construct ( string $name = ? , int $initialval = 1 , bool $autounlock = true ) Constructs a named or unnamed semaphore. ... oncludes before the object is unlocked, then the underlying semaphore will end up in an inconsistent state. 戻り値 The new SyncSemaphore object. エラー / 例外 An exception is thrown if the semaphore cannot be created or opened. 例 例1 SyncSemaphore::__constru ... ct() example <?php $semaphore = new SyncSemaphore ( "LimitedResource_2clients" , 2 ); if (! $semaphore -> lock ( 3000 )) { echo "Unable to lock semaphore." ; exit(); } /* . ...
-
https://man.mtool.work/php/8.3/syncsemaphore.construct.html
- Constructs a new SyncSemaphore object 10552
- « SyncSemaphore SyncSemaphore::lock » PHP Manual SyncSemaphore Constructs a new SyncSemaphore object 検索 SyncSemaphore::__construct (PECL sync >= 1.0.0) SyncSemaphore::__construct — Constructs a new SyncSemaphore object 説明 public functio
... n SyncSemaphore::__construct ( string $name = ? , int $initialval = 1 , bool $autounlock = true ) Constructs a named or unnamed semaphore. ... oncludes before the object is unlocked, then the underlying semaphore will end up in an inconsistent state. 戻り値 The new SyncSemaphore object. エラー / 例外 An exception is thrown if the semaphore cannot be created or opened. 例 例1 SyncSemaphore::__constru ... ct() example <?php $semaphore = new SyncSemaphore ( "LimitedResource_2clients" , 2 ); if (! $semaphore -> lock ( 3000 )) { echo "Unable to lock semaphore." ; exit(); } /* . ...
-
https://man.mtool.work/php/8.3/syncsemaphore.construct.html
- Decreases the count of the semaphore or waits 10449
- « SyncSemaphore::__construct SyncSemaphore::unlock » PHP Manual SyncSemaphore Decreases the count of the semaphore or waits 検索 SyncSemaphore::lock (PECL sync >= 1.0.0) SyncSemaphore::lock — Decreases the count of the semaphore or waits 説
... 明 public function SyncSemaphore::lock ( int $wait = -1 ): bool Decreases the count of a SyncSemaphore object or waits until the semaphore becomes non-zero ... wait for the semaphore. A value of -1 is infinite. 戻り値 成功した場合に true を、失敗した場合に false を返します。 例 例1 SyncSemaphore::lock() example <?php $semaphore = new SyncSemaphore ( "LimitedResource_2clients" , 2 ); if (! $semaphore -> lock ( 3000 ) ... ) { echo "Unable to lock semaphore." ; exit(); } /* ... */ $semaphore -> unlock (); ?> 参考 SyncSemaphore::unlock() - Increases the count of the semaphore 関連キーワード: semaphore SyncSemaphore lock count Decreases waits unlock ...
-
https://man.mtool.work/php/8.3/syncsemaphore.lock.html
- Decreases the count of the semaphore or waits 10449
- « SyncSemaphore::__construct SyncSemaphore::unlock » PHP Manual SyncSemaphore Decreases the count of the semaphore or waits 検索 SyncSemaphore::lock (PECL sync >= 1.0.0) SyncSemaphore::lock — Decreases the count of the semaphore or waits 説
... 明 public function SyncSemaphore::lock ( int $wait = -1 ): bool Decreases the count of a SyncSemaphore object or waits until the semaphore becomes non-zero ... wait for the semaphore. A value of -1 is infinite. 戻り値 成功した場合に true を、失敗した場合に false を返します。 例 例1 SyncSemaphore::lock() example <?php $semaphore = new SyncSemaphore ( "LimitedResource_2clients" , 2 ); if (! $semaphore -> lock ( 3000 ) ... ) { echo "Unable to lock semaphore." ; exit(); } /* ... */ $semaphore -> unlock (); ?> 参考 SyncSemaphore::unlock() - Increases the count of the semaphore 関連キーワード: semaphore SyncSemaphore lock count Decreases waits unlock ...
-
https://man.mtool.work/php/8.3/syncsemaphore.lock.html
- Increases the count of the semaphore 10397
- « SyncSemaphore::lock SyncEvent » PHP Manual SyncSemaphore Increases the count of the semaphore 検索 SyncSemaphore::unlock (PECL sync >= 1.0.0) SyncSemaphore::unlock — Increases the count of the semaphore 説明 public function SyncSemaphore:
... :unlock ( int &$prevcount = ? ): bool Increases the count of a SyncSemaphore object. パラメータ prevcount Returns the previous count of the semaphore. 戻り値 成功した場合に true を、失敗した場合に fa ... lse を返します。 例 例1 SyncSemaphore::unlock() example <?php $semaphore = new SyncSemaphore ( "LimitedResource_2clients" , 2 ); if (! $semaphore -> lock ( 3000 ... )) { echo "Unable to lock semaphore." ; exit(); } /* ... */ $semaphore -> unlock (); ?> 参考 SyncSemaphore::lock() - Decreases the count of the semaphore or waits 関連キーワード: semaphore SyncSemaphore count unlock Increases loc ...
-
https://man.mtool.work/php/8.3/syncsemaphore.unlock.html
- Increases the count of the semaphore 10363
- « SyncSemaphore::lock SyncEvent » PHP Manual SyncSemaphore Increases the count of the semaphore 検索 SyncSemaphore::unlock (PECL sync >= 1.0.0) SyncSemaphore::unlock — Increases the count of the semaphore 説明 public function SyncSemaphore:
... :unlock ( int &$prevcount = ? ): bool Increases the count of a SyncSemaphore object. パラメータ prevcount Returns the previous count of the semaphore. 戻り値 成功した場合に true を、失敗した場合に fa ... lse を返します。 例 例1 SyncSemaphore::unlock() example <?php $semaphore = new SyncSemaphore ( "LimitedResource_2clients" , 2 ); if (! $semaphore -> lock ( 3000 ... )) { echo "Unable to lock semaphore." ; exit(); } /* ... */ $semaphore -> unlock (); ?> 参考 SyncSemaphore::lock() - Decreases the count of the semaphore or waits 関連キーワード: semaphore SyncSemaphore count unlock Increases loc ...
-
https://man.mtool.work/php/8.3/syncsemaphore.unlock.html
- The SyncSemaphore class 10157
- « SyncMutex::unlock SyncSemaphore::__construct » PHP Manual Sync The SyncSemaphore class 検索 The SyncSemaphore class (PECL sync >= 1.0.0) はじめに A cross-platform, native implementation of named and unnamed semaphore objects. A semaphore
... more than one instance to access a resource at one time while a mutex only allows one instance at a time. クラス概要 class SyncSemaphore { /* メソッド */ public function __construct ( string $name = ? , int $initialval = 1 , bool $autounlock = true ) public f ... unction lock ( int $wait = -1 ): bool public function unlock ( int &$prevcount = ? ): bool } 目次 SyncSemaphore::__construct — Constructs a new SyncSemaphore object SyncSemaphore::lock — Decreases the count of the semaphore or waits S ... yncSemaphore::unlock — Increases the count of the semaphore 関連キーワード: SyncSemaphore class semaphore unlock construct one function int bool access limited resource instance time lock count SyncMutex Search S ...
-
https://man.mtool.work/php/8.3/class.syncsemaphore.html
- The SyncSemaphore class 10140
- « SyncMutex::unlock SyncSemaphore::__construct » PHP Manual Sync The SyncSemaphore class 検索 The SyncSemaphore class (PECL sync >= 1.0.0) はじめに A cross-platform, native implementation of named and unnamed semaphore objects. A semaphore
... more than one instance to access a resource at one time while a mutex only allows one instance at a time. クラス概要 class SyncSemaphore { /* メソッド */ public function __construct ( string $name = ? , int $initialval = 1 , bool $autounlock = true ) public f ... unction lock ( int $wait = -1 ): bool public function unlock ( int &$prevcount = ? ): bool } 目次 SyncSemaphore::__construct — Constructs a new SyncSemaphore object SyncSemaphore::lock — Decreases the count of the semaphore or waits S ... yncSemaphore::unlock — Increases the count of the semaphore 関連キーワード: SyncSemaphore semaphore unlock construct access limited resource instance time lock count SyncMutex Sync sync cross platform native impl ...
-
https://man.mtool.work/php/8.3/class.syncsemaphore.html
- Sync 8459
- « 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
... ct — 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 SyncSemaphore object SyncSemaphore::lock — Decreas ... es the count of the semaphore or waits SyncSemaphore::unlock — Increases the count of the semaphore SyncEvent — The SyncEvent class SyncEvent::__construct — Constructs a new S ... 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 8459
- « 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
... ct — 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 SyncSemaphore object SyncSemaphore::lock — Decreas ... es the count of the semaphore or waits SyncSemaphore::unlock — Increases the count of the semaphore SyncEvent — The SyncEvent class SyncEvent::__construct — Constructs a new S ... rite — 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 state Unnamed ...
-
https://man.mtool.work/php/8.3/book.sync.html