Results of 1 - 9 of about 9 for Shutting (0.013 sec.)
- Shutdown all workers 13427
- « Pool::resize Pool::submit » PHP Manual Pool Shutdown all workers 検索 Pool::shutdown (PECL pthreads >= 2.0.0) Pool::shutdown — Shutdown all workers 説明 public function Pool::shutdown (): void Shuts down all of the workers in the pool. Th
... til all submitted tasks have been executed. パラメータ この関数にはパラメータはありません。 戻り値 値を返しません。 例 例1 Shutting down a pool <?php class Task extends Threaded { public function run () { usleep ( 500000 ); } } $pool = new Pool ( 4 ); fo ... キーワード: Pool pool workers shutdown Shutdown submit down until submitted tasks Task resize pthreads Shuts block executed Shutting extends Threaded usleep blocks finished executing ...
-
https://man.mtool.work/php/8.3/pool.shutdown.html
- Shutdown all workers 10012
- « Pool::resize Pool::submit » PHP Manual Pool Shutdown all workers 検索 Pool::shutdown (PECL pthreads >= 2.0.0) Pool::shutdown — Shutdown all workers 説明 public function Pool::shutdown (): void Shuts down all of the workers in the pool. Th
... til all submitted tasks have been executed. パラメータ この関数にはパラメータはありません。 戻り値 値を返しません。 例 例1 Shutting down a pool <?php class Task extends Threaded { public function run () { usleep ( 500000 ); } } $pool = new Pool ( 4 ); fo ...
-
https://man.mtool.work/php/8.3/pool.shutdown.html
- 例 9041
- « インストール手順 Event flags » PHP Manual Event 例 検索 例 例1 Simple HTTP client <?php // Read callback function readcb ( $bev , $base ) { //$input = $bev->input; //$bev->getInput(); //$pos = $input->search("TTP"); $pos = $bev -> input -
... ept_error_cb ( $listener , $ctx ) { $base = $this -> base ; fprintf ( STDERR , "Got an error %d (%s) on the listener. " . "Shutting down.\n" , EventUtil :: getLastSocketErrno (), EventUtil :: getLastSocketError ()); $base -> exit ( NULL ); } } $port = 98 ... or a client function accept_error_cb ( $listener , $ctx ) { fprintf ( STDERR , "Got an error %d (%s) on the listener. " . "Shutting down.\n" , EventUtil :: getLastSocketErrno (), EventUtil :: getLastSocketError ()); $this -> base -> exit ( NULL ); } // I ... ept_error_cb ( $listener , $ctx ) { $base = $this -> base ; fprintf ( STDERR , "Got an error %d (%s) on the listener. " . "Shutting down.\n" , EventUtil :: getLastSocketErrno (), EventUtil :: getLastSocketError ()); $base -> exit ( NULL ); } } if ( $argc ...
-
https://man.mtool.work/php/8.3/event.examples.html
- 例 9041
- « インストール手順 Event flags » PHP Manual Event 例 検索 例 例1 Simple HTTP client <?php // Read callback function readcb ( $bev , $base ) { //$input = $bev->input; //$bev->getInput(); //$pos = $input->search("TTP"); $pos = $bev -> input -
... ept_error_cb ( $listener , $ctx ) { $base = $this -> base ; fprintf ( STDERR , "Got an error %d (%s) on the listener. " . "Shutting down.\n" , EventUtil :: getLastSocketErrno (), EventUtil :: getLastSocketError ()); $base -> exit ( NULL ); } } $port = 98 ... or a client function accept_error_cb ( $listener , $ctx ) { fprintf ( STDERR , "Got an error %d (%s) on the listener. " . "Shutting down.\n" , EventUtil :: getLastSocketErrno (), EventUtil :: getLastSocketError ()); $this -> base -> exit ( NULL ); } // I ... ept_error_cb ( $listener , $ctx ) { $base = $this -> base ; fprintf ( STDERR , "Got an error %d (%s) on the listener. " . "Shutting down.\n" , EventUtil :: getLastSocketErrno (), EventUtil :: getLastSocketError ()); $base -> exit ( NULL ); } } if ( $argc ...
-
https://man.mtool.work/php/8.3/event.examples.html
- Creates new connection listener associated with an event base 8304
- « EventListener EventListener::disable » PHP Manual EventListener Creates new connection listener associated with an event base 検索 EventListener::__construct (PECL event >= 1.2.6-beta) EventListener::__construct — Creates new connection l
... ept_error_cb ( $listener , $ctx ) { $base = $this -> base ; fprintf ( STDERR , "Got an error %d (%s) on the listener. " . "Shutting down.\n" , EventUtil :: getLastSocketErrno (), EventUtil :: getLastSocketError ()); $base -> exit ( NULL ); } } $port = 98 ...
-
https://man.mtool.work/php/8.3/eventlistener.construct.html
- Creates new connection listener associated with an event base 8304
- « EventListener EventListener::disable » PHP Manual EventListener Creates new connection listener associated with an event base 検索 EventListener::__construct (PECL event >= 1.2.6-beta) EventListener::__construct — Creates new connection l
... ept_error_cb ( $listener , $ctx ) { $base = $this -> base ; fprintf ( STDERR , "Got an error %d (%s) on the listener. " . "Shutting down.\n" , EventUtil :: getLastSocketErrno (), EventUtil :: getLastSocketError ()); $base -> exit ( NULL ); } } $port = 98 ...
-
https://man.mtool.work/php/8.3/eventlistener.construct.html
- Create a new SSL buffer event to send its data over another buffer event 8052
- « EventBufferEvent::sslError EventBufferEvent::sslGetCipherInfo » PHP Manual EventBufferEvent Create a new SSL buffer event to send its data over another buffer event 検索 EventBufferEvent::sslFilter (PECL event >= 1.2.6-beta) EventBufferEv
... listener , $ctx ) { $errno = EventUtil :: getLastSocketErrno (); fprintf ( STDERR , "Got an error %d (%s) on the listener. Shutting down.\n" , $errno , EventUtil :: getLastSocketError ()); if ( $errno != 0 ) { $this -> base -> exit ( NULL ); exit(); } } ...
-
https://man.mtool.work/php/8.3/eventbufferevent.sslfilter.html
- Create a new SSL buffer event to send its data over another buffer event 8052
- « EventBufferEvent::sslError EventBufferEvent::sslGetCipherInfo » PHP Manual EventBufferEvent Create a new SSL buffer event to send its data over another buffer event 検索 EventBufferEvent::sslFilter (PECL event >= 1.2.6-beta) EventBufferEv
... listener , $ctx ) { $errno = EventUtil :: getLastSocketErrno (); fprintf ( STDERR , "Got an error %d (%s) on the listener. Shutting down.\n" , $errno , EventUtil :: getLastSocketError ()); if ( $errno != 0 ) { $this -> base -> exit ( NULL ); exit(); } } ...
-
https://man.mtool.work/php/8.3/eventbufferevent.sslfilter.html
- サンプル 6596
- « 関数・メソッド 変更履歴 » PHP Manual 索引 サンプル 検索 サンプル マニュアル内の全サンプルの一覧 Example#0 - 初歩的な例 Example#1 - 初めての PHP スクリプト: hello.php Example#2 - PHP からシステムに関する情報を取得する Example#3 - 変数を出力
... cts from the stack of Workers Example#3705 - A basic example of Pool::collect Example#3706 - Creating Pools Example#3707 - Shutting down a pool Example#3708 - Submitting Tasks Example#3709 - Submitting tasks to a specific worker Example#3710 - New immuta ...
-
https://man.mtool.work/php/8.3/indexes.examples.html
PREV
1
NEXT