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

Method Watch

Kernel/include/objects/interface.h:47–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45 FancyRefPtr<MessageEndpoint> Connect();
46
47 void Watch(KernelObjectWatcher& watcher, int events){
48 acquireLock(&waitingLock);
49 waiting.add_back(&watcher);
50 releaseLock(&waitingLock)
51 }
52
53 virtual void Unwatch(KernelObjectWatcher& watcher){
54 waiting.remove(&watcher);

Callers

nothing calls this directly

Calls 1

add_backMethod · 0.45

Tested by

no test coverage detected