Browse Source

Fix incorrect thread priority which prevent the ALSA thread from running unless ulimit -r was 99.

pull/2/head
Peter Nelson 11 years ago
parent
commit
363d827f96
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      zalsa/pxthread.cc

+ 0
- 1
zalsa/pxthread.cc View File

@@ -47,7 +47,6 @@ int Pxthread::thr_start (int policy, int priority, size_t stacksize)

min = sched_get_priority_min (policy);
max = sched_get_priority_max (policy);
priority += max;
if (priority > max) priority = max;
if (priority < min) priority = min;
parm.sched_priority = priority;


Loading…
Cancel
Save