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

Method TermKqueue

adapter/micro_thread/kqueue_proxy.cpp:95–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93}
94
95void KqueueProxy::TermKqueue()
96{
97 if (_kqfd > 0)
98 {
99 close(_kqfd);
100 _kqfd = -1;
101 }
102
103 if (_evtlist != NULL)
104 {
105 free(_evtlist);
106 _evtlist = NULL;
107 }
108
109 if (_kqrefs != NULL)
110 {
111 delete []_kqrefs;
112 _kqrefs = NULL;
113 }
114}
115
116bool KqueueProxy::KqueueAdd(KqObjList& obj_list)
117{

Callers 1

DestroyMethod · 0.80

Calls 2

closeFunction · 0.70
freeFunction · 0.50

Tested by

no test coverage detected