MCPcopy Create free account
hub / github.com/Kistler-Group/sdbus-cpp / notify

Method notify

src/Connection.cpp:940–945  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

938}
939
940void Connection::EventFd::notify() // NOLINT(readability-make-member-function-const)
941{
942 assert(fd >= 0);
943 auto r = eventfd_write(fd, 1);
944 SDBUS_THROW_ERROR_IF(r < 0, "Failed to notify event descriptor", -errno);
945}
946
947bool Connection::EventFd::clear() // NOLINT(readability-make-member-function-const)
948{

Callers 2

notifyEventLoopToExitMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected