MCPcopy Create free account
hub / github.com/LemonOSProject/LemonOS / Watch

Method Watch

Kernel/include/objects/message.h:113–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111 int64_t Write(uint64_t id, uint16_t size, uint64_t data);
112
113 void Watch(KernelObjectWatcher& watcher, int events){
114 acquireLock(&waitingLock);
115 waiting.add_back(&watcher);
116 releaseLock(&waitingLock)
117 }
118
119 virtual void Unwatch(KernelObjectWatcher& watcher){
120 waiting.remove(&watcher);

Callers 2

WatchObjectMethod · 0.45
WatchNodeMethod · 0.45

Calls 1

add_backMethod · 0.45

Tested by

no test coverage detected