EvLoop::loopFork

(PECL ev >= 0.2.0)

EvLoop::loopForkMust be called after a fork

说明

public EvLoop::loopFork ( void ) : void

Must be called after a fork in the child, before entering or continuing the event loop. An alternative is to use Ev::FLAG_FORKCHECK which calls this function automatically, at some performance loss (refer to the » libev documentation ).

参数

此函数没有参数。

返回值

没有返回值。

相关文章
php eventbase re initialize event base after a fork php evloop must be called after a forkphp evloop creates evperiodic watcher object associated with the current event loop instancephp eio 函数 can be to be called whenever there are pending requests that need finishingphp libevent 函数 reinitialize the event base after a forkphp grapheme 函数 function to extract a sequence of default grapheme clusters from a text buffer which must be encoded in utf 8php gupnp 函数 sets a function to be called at regular intervalsphp firebird/interbase 函数 register a callback function to be called when events are postedphp gearmanclient add a high priority background task to be run in parallelphp gearmanclient set a function to be called on task completionphp mongocursor sets whether this cursor will be left open after fetching the last resultsphp mongodb bson regex returns a representation that can be converted to jsonphp mongodb bson timestamp returns a representation that can be converted to jsonphp php user filter called when creating the filterphp reflectionparameter returns whether parameter must be callablephp solrquery returns whether or not the query will be boosted by the interesting term relevancephp solrquery sets the frequency below which terms will be ignored in the source docsphp swoole server shutdown the master server process this function can be called in worker processes.php syncevent waits for the event to be fired/setphp zookeeper return the timeout for this session only valid if the connections is currently connected ie. last watcher state is zoo connected state . this value may change after a server re connect
关注编程学问公众号