Changeset 5520
- Timestamp:
- 05/22/07 21:27:07
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
gnuradio/trunk/gnuradio-core/src/lib/runtime/gr_realtime.cc
r3534 r5520 40 40 { 41 41 int policy = SCHED_FIFO; 42 int pri = (sched_get_priority_max (policy) -sched_get_priority_min (policy)) / 2;42 int pri = (sched_get_priority_max (policy) + sched_get_priority_min (policy)) / 2; 43 43 int pid = 0; // this process 44 44
