Main, OutputThread: increase kernel timer slack (Linux)

Allows the kernel to combine timer wakeups with other processes,
reducing power usage.
This commit is contained in:
Max Kellermann
2014-01-30 18:37:30 +01:00
parent 39a2867ea8
commit a31738f6f1
5 changed files with 64 additions and 0 deletions

View File

@@ -184,6 +184,8 @@ AC_SEARCH_LIBS([exp], [m],,
AC_CHECK_HEADERS(locale.h)
AC_CHECK_HEADERS(valgrind/memcheck.h)
AC_CHECK_HEADERS([sys/prctl.h], AC_CHECK_FUNCS([prctl]))
AC_CHECK_LIB([pthread], [pthread_setname_np],
[have_pthread_setname_np=yes],
[have_pthread_setname_np=no])