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 establishes the current time by querying the kernel updating the time returned by evloop now in the progressphp 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 snmp 函数 specify the method how the snmp values will be returnedphp 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 int64 returns a representation that can be converted to jsonphp php user filter called when closing the filterphp reflectionparameter returns whether this parameter can be passed by valuephp reflectionparameter returns whether parameter must be callablephp solrquery returns whether or not morelikethis results should be enabledphp swftextfield adds characters to a font that will be available within a textfieldphp swoole buffer write data to the memory buffer. the memory allocated for the buffer will not be changed.php swoole server trigger a callback function after a period of time.php swoole server shutdown the master server process this function can be called in worker processes.
关注编程学问公众号