Add the lttng::eventfd class
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 29 Mar 2023 21:15:20 +0000 (17:15 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 11 Apr 2023 20:26:58 +0000 (16:26 -0400)
commit20c734f5b9940033f4ab96e47523c7d9e3d299bb
treef84714a4465c300ea0bddc9489e62a8ee392e1de
parent238fab718442f811eeba699216ca8e9d61cbadd0
Add the lttng::eventfd class

Add an RAII wrapper around the use of eventfd(), extending the
file_descriptor class. The implementation of file_descriptor is moved to
its own TU to make clean-up the interface.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: Ie177018ce8ffe24e78f1be82bdd2f77ba9b19e32
src/common/Makefile.am
src/common/eventfd.cpp [new file with mode: 0644]
src/common/eventfd.hpp [new file with mode: 0644]
src/common/file-descriptor.cpp [new file with mode: 0644]
src/common/file-descriptor.hpp
src/common/random.cpp
This page took 0.025308 seconds and 4 git commands to generate.