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 set returns a representation that can be converted to jsonphp eventbase re initialize event base after a fork php evloop creates evfork watcher object associated with the current event loop instancephp evloop must be called after a forkphp evloop performs internal consistency checks for debugging 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 snmp 函数 return the method how the snmp values will be returnedphp gearmanclient set a function to be called on task completionphp imagickdraw specifies the shape to be used at the corners of paths when they are strokedphp mongocursor sets whether this query can be done on a secondary deprecated php mongocursor sets whether this cursor will be left open after fetching the last resultsphp mongodb bson decimal128 returns a representation that can be converted to jsonphp mongodb bson symbol returns a representation that can be converted to jsonphp reflectionparameter returns whether parameter must be callablephp swoole mmap map a file into memory and return the stream resource which can be used by php stream operations.php swoole server shutdown the master server process this function can be called in worker processes.
关注编程学问公众号