From: Arvin Schnell Date: Thu, 6 Sep 2012 19:31:23 +0000 (+0200) Subject: - added note X-Git-Tag: v0.1.3~104 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c3e40b9d214273ef105282adb34b94f2d72bf73e;p=thirdparty%2Fsnapper.git - added note --- diff --git a/server/Background.cc b/server/Background.cc index a114c116..9d27809c 100644 --- a/server/Background.cc +++ b/server/Background.cc @@ -86,6 +86,9 @@ enum { void Backgrounds::worker() { + /* According to POSIX threads have the same nice value (see pthreads(7)) + but with linux 3.4 and glibc 2.15 the value can be set per thread. */ + pid_t tid = syscall(SYS_gettid); int priority = 20;