Fix CPU hog on async methods: Clear the event descriptor by reading from it (#16)

This commit is contained in:
Stanislav Angelovič authored and Lukáš Ďurfina committed 2018-07-24 12:54:31 +02:00
1 parent d8fd053714
commit d3d698f02a
5 files changed
+58 -12

No files matched your search

+2 -2
View File
@@ -25,8 +25,8 @@ AC_PROG_INSTALL
# enable pkg-config
PKG_PROG_PKG_CONFIG
PKG_CHECK_MODULES(SYSTEMD, [libsystemd >= 0.10.1],,
AC_MSG_ERROR([You need the libsystemd library (version 0.10.1 or better)]
PKG_CHECK_MODULES(SYSTEMD, [libsystemd >= 236],,
AC_MSG_ERROR([You need the libsystemd library (version 236 or newer)]
[https://www.freedesktop.org/wiki/Software/systemd/])
)