Changeset 3057 for pjproject/trunk/pjlib/src/pj/os_core_unix.c
- Timestamp:
- Jan 13, 2010 1:09:45 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/src/pj/os_core_unix.c
r2853 r3057 309 309 return -1; 310 310 311 #if defined _POSIX_PRIORITY_SCHEDULING 311 312 return sched_get_priority_min(policy); 313 #elif defined __OpenBSD__ 314 return 0; 315 #else 316 pj_assert("pj_thread_get_prio_min() not supported!"); 317 return 0; 318 #endif 312 319 } 313 320 … … 326 333 return -1; 327 334 335 #if defined _POSIX_PRIORITY_SCHEDULING 328 336 return sched_get_priority_max(policy); 337 #elif defined __OpenBSD__ 338 return 31; 339 #else 340 pj_assert("pj_thread_get_prio_max() not supported!"); 341 return 0; 342 #endif 329 343 } 330 344
Note: See TracChangeset
for help on using the changeset viewer.