MCPcopy Create free account
hub / github.com/F-Stack/f-stack / KqueueCtlDel

Method KqueueCtlDel

adapter/micro_thread/mt_notify.h:203–215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

201 };
202
203 virtual int KqueueCtlDel(void* args) {
204 if (!_real_ntfy) {
205 return -1;
206 }
207
208 int events = this->GetEvents();
209 if (!(events & KQ_EVENT_WRITE)) {
210 return 0;
211 }
212
213 _real_ntfy->RemoveWriteWait(this);
214 return _real_ntfy->KqueueCtlDel(args);
215 };
216
217private:
218 ISessionNtfy* _real_ntfy;

Callers

nothing calls this directly

Calls 3

GetEventsMethod · 0.80
RemoveWriteWaitMethod · 0.80
KqueueCtlDelMethod · 0.45

Tested by

no test coverage detected