Results of 1 - 10 of about 20 for locks (0.002 sec.)
- Construct a Swoole Channel 14699
- « 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\
... ng $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 minimum siz ... el 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
- Construct a Swoole Channel 9788
- « 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\
... ng $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 minimum siz ...
-
https://man.mtool.work/php/8.3/swoole-channel.construct.html
- The EventBufferEvent class 9125
- « EventBuffer::write EventBufferEvent::close » PHP Manual Event The EventBufferEvent class 検索 The EventBufferEvent class (PECL event >= 1.2.6-beta) はじめに Represents Libevent's buffer event. Usually an application wants to perform some
... close an underlying socket, free an underlying buffer event, etc. EventBufferEvent::OPT_THREADSAFE Automatically allocate locks for the bufferevent, so that it's safe to use from multiple threads. EventBufferEvent::OPT_DEFER_CALLBACKS When this flag ... s . EventBufferEvent::OPT_UNLOCK_CALLBACKS By default, when the bufferevent is set up to be threadsafe, the buffer event's locks are held whenever the any user-provided callback is invoked. Setting this option makes Libevent release the buffer event's ...
-
https://man.mtool.work/php/8.3/class.eventbufferevent.html
- 新しいグローバル定数 9125
- « 新しいクラスおよびインターフェイス SAPI モジュールの変更 » PHP Manual PHP 5.6.x から PHP 7.0.x への移行 新しいグローバル定数 検索 新しいグローバル定数 コアで定義済みの定数 PHP_INT_MIN GD IMG_WEBP (PHP 7.0.10 以降) JSON JSON_ERROR_INVALID_
... TACKLIMIT_ERROR POSIX POSIX_RLIMIT_AS POSIX_RLIMIT_CORE POSIX_RLIMIT_CPU POSIX_RLIMIT_DATA POSIX_RLIMIT_FSIZE POSIX_RLIMIT_LOCKS POSIX_RLIMIT_MEMLOCK POSIX_RLIMIT_MSGQUEUE POSIX_RLIMIT_NICE POSIX_RLIMIT_NOFILE POSIX_RLIMIT_NPROC POSIX_RLIMIT_RSS POSIX ...
-
https://man.mtool.work/php/8.3/migration70.constants.html
- The EventBufferEvent class 9125
- « EventBuffer::write EventBufferEvent::close » PHP Manual Event The EventBufferEvent class 検索 The EventBufferEvent class (PECL event >= 1.2.6-beta) はじめに Represents Libevent's buffer event. Usually an application wants to perform some
... close an underlying socket, free an underlying buffer event, etc. EventBufferEvent::OPT_THREADSAFE Automatically allocate locks for the bufferevent, so that it's safe to use from multiple threads. EventBufferEvent::OPT_DEFER_CALLBACKS When this flag ... s . EventBufferEvent::OPT_UNLOCK_CALLBACKS By default, when the bufferevent is set up to be threadsafe, the buffer event's locks are held whenever the any user-provided callback is invoked. Setting this option makes Libevent release the buffer event's ...
-
https://man.mtool.work/php/8.3/class.eventbufferevent.html
- 新しいグローバル定数 9125
- « 新しいクラスおよびインターフェイス SAPI モジュールの変更 » PHP Manual PHP 5.6.x から PHP 7.0.x への移行 新しいグローバル定数 検索 新しいグローバル定数 コアで定義済みの定数 PHP_INT_MIN GD IMG_WEBP (PHP 7.0.10 以降) JSON JSON_ERROR_INVALID_
... TACKLIMIT_ERROR POSIX POSIX_RLIMIT_AS POSIX_RLIMIT_CORE POSIX_RLIMIT_CPU POSIX_RLIMIT_DATA POSIX_RLIMIT_FSIZE POSIX_RLIMIT_LOCKS POSIX_RLIMIT_MEMLOCK POSIX_RLIMIT_MSGQUEUE POSIX_RLIMIT_NICE POSIX_RLIMIT_NOFILE POSIX_RLIMIT_NPROC POSIX_RLIMIT_RSS POSIX ...
-
https://man.mtool.work/php/8.3/migration70.constants.html
- Constructs a new SyncSemaphore object 8802
- « 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
... tion will be thrown with a meaningless error message. initialval The initial value of the semaphore. This is the number of locks that may be obtained. autounlock Specifies whether or not to automatically unlock the semaphore at the conclusion of the P ... hp $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 semap ...
-
https://man.mtool.work/php/8.3/syncsemaphore.construct.html
- Constructs a new SyncSemaphore object 8802
- « 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
... tion will be thrown with a meaningless error message. initialval The initial value of the semaphore. This is the number of locks that may be obtained. autounlock Specifies whether or not to automatically unlock the semaphore at the conclusion of the P ... hp $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 semap ...
-
https://man.mtool.work/php/8.3/syncsemaphore.construct.html
- Yac 8139
- « xhprof_sample_enable インストール/設定 » PHP Manual PHP の振る舞いの変更 Yac 検索 Yac はじめに Yac (Yet Another Cache) is a lock-free, shared memory user data cache, and can be used to replace APC or local memcached. Yac stores data in sh
... s communication. Instead of locking, Yac relies on atomic slot updates plus a few collision probes, so a cache miss never blocks a request, and a concurrent write can at worst cause a failed store or a missed read that the caller can simply retry. Wit ... h no locks and no inter-process communication in the access path, a read is essentially a hash lookup in shared memory. As a result, ...
-
https://man.mtool.work/php/8.3/book.yac.html
- The EventListener class 8139
- « EventHttpRequest::sendReplyStart EventListener::__construct » PHP Manual Event The EventListener class 検索 The EventListener class (PECL event >= 1.5.0) はじめに Represents a connection listener. クラス概要 final class EventListener { /*
... so that once it is closed, another socket can be opened to listen on the same port. EventListener::OPT_THREADSAFE Allocate locks for the listener, so that it's safe to use it from multiple threads. 目次 EventListener::__construct — Creates new connect ...
-
https://man.mtool.work/php/8.3/class.eventlistener.html