MCPcopy Create free account
hub / github.com/Axosoft/nsfw / ~InotifyEventLoop

Method ~InotifyEventLoop

src/linux/InotifyEventLoop.cpp:144–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142}
143
144InotifyEventLoop::~InotifyEventLoop() {
145 if (!mStarted) {
146 return;
147 }
148
149 {
150 std::lock_guard<std::mutex> syncWithWork(mMutex);
151 pthread_cancel(mEventLoop);
152 }
153
154 pthread_join(mEventLoop, NULL);
155}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected