Increase priority for the devices thread

Thu, 14 Aug 2014 22:02:33 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Thu, 14 Aug 2014 22:02:33 +0200
changeset 239
793c09ece542
parent 238
a0f1deb65889
child 240
6bdda35b4a13

Increase priority for the devices thread

thermferm/devices.c file | annotate | diff | comparison | revisions
--- a/thermferm/devices.c	Thu Aug 14 21:50:38 2014 +0200
+++ b/thermferm/devices.c	Thu Aug 14 22:02:33 2014 +0200
@@ -410,6 +410,9 @@
 
     syslog(LOG_NOTICE, "Thread my_devices_loop started");
 
+    rc = piHiPri(10);
+    syslog(LOG_NOTICE, "Thread my_devices_loop piHiPri(10) rc=%d", rc);
+
     /*
      * Loop forever until the external shutdown variable is set.
      */

mercurial