Changeset 5277 for pjproject/trunk/pjsip-apps/src/samples/siprtp.c
- Timestamp:
- Apr 13, 2016 6:24:48 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/samples/siprtp.c
r5241 r5277 1137 1137 return; 1138 1138 } 1139 tp. __sched_priority = max_prio;1139 tp.sched_priority = max_prio; 1140 1140 1141 1141 rc = sched_setscheduler(0, POLICY, &tp); … … 1146 1146 1147 1147 PJ_LOG(4, (THIS_FILE, "New process policy=%d, priority=%d", 1148 policy, tp. __sched_priority));1148 policy, tp.sched_priority)); 1149 1149 1150 1150 /* … … 1159 1159 1160 1160 PJ_LOG(4, (THIS_FILE, "Old thread policy=%d, priority=%d", 1161 policy, tp. __sched_priority));1161 policy, tp.sched_priority)); 1162 1162 1163 1163 policy = POLICY; 1164 tp. __sched_priority = max_prio;1164 tp.sched_priority = max_prio; 1165 1165 1166 1166 rc = pthread_setschedparam(pthread_self(), policy, &tp); … … 1172 1172 1173 1173 PJ_LOG(4, (THIS_FILE, "New thread policy=%d, priority=%d", 1174 policy, tp. __sched_priority));1174 policy, tp.sched_priority)); 1175 1175 } 1176 1176
Note: See TracChangeset
for help on using the changeset viewer.