Changeset 1843 for pjproject/trunk/pjmedia/src/pjmedia/clock_thread.c
- Timestamp:
- Mar 4, 2008 3:31:13 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/clock_thread.c
r1747 r1843 216 216 pjmedia_clock *clock = (pjmedia_clock*) arg; 217 217 218 /* Set thread priority to maximum unless not wanted. */ 219 if ((clock->options & PJMEDIA_CLOCK_NO_HIGHEST_PRIO) == 0) { 220 int max = pj_thread_get_prio_max(pj_thread_this()); 221 if (max > 0) 222 pj_thread_set_prio(pj_thread_this(), max); 223 } 224 218 225 /* Get the first tick */ 219 226 pj_get_timestamp(&clock->next_tick);
Note: See TracChangeset
for help on using the changeset viewer.