Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LemonOSProject/LemonOS
/ WatchObject
Method
WatchObject
Kernel/include/objects/kobject.h:55–59 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
53
}
54
55
inline void WatchObject(FancyRefPtr<KernelObject>& node, int events){
56
node->Watch(*this, events);
57
58
watching.add_back(node);
59
}
60
61
~KernelObjectWatcher(){
62
for(auto& node : watching){
Callers
2
SysKernelObjectWaitOne
Function · 0.80
SysKernelObjectWait
Function · 0.80
Calls
2
Watch
Method · 0.45
add_back
Method · 0.45
Tested by
no test coverage detected