Changeset 6066
- Timestamp:
- 07/26/07 08:20:01
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
gnuradio/branches/releases/3.0/gnuradio-core/src/lib/runtime/gr_realtime.cc
r3534 r6066 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
