Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tencent/phxqueue
/ OnChildRun
Method
OnChildRun
phxqueue/consumer/consumer.h:105–105 ·
view source on GitHub ↗
Callback after worker fork.
Source
from the content-addressed store, hash-verified
103
104
// Callback after worker fork.
105
virtual void OnChildRun(const int vpid) {}
106
107
// Consumer will fork one sync process, to do things belows:
108
// 1. Report the local CPU load to Scheduler.
Callers
1
ChildRun
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected