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 priorityqueue returns a representation that can be converted to jsonphp stack returns a representation that can be converted to jsonphp eventbase re initialize event base after a fork php evloop must be called after a forkphp evloop returns the current event loop time php 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 set a function to be called on task completionphp intlcodepointbreakiterator get last code point passed over after advancing or receding the iteratorphp mongocursor sets whether this cursor will be left open after fetching the last resultsphp mongodb bson maxkey returns a representation that can be converted to jsonphp mongodb bson utcdatetime returns a representation that can be converted to jsonphp mysql xdevapi collectionfind skip given number of elements to be returnedphp phardata returns true if the tar/zip archive can be modifiedphp reflectionparameter returns whether parameter must be callablephp solrquery returns the list of fields that will be returned in the responsephp swoole server shutdown the master server process this function can be called in worker processes.
关注编程学问公众号