Ignore:
Timestamp:
May 19, 2010 5:50:08 AM (14 years ago)
Author:
bennylp
Message:

Changed pj_thread_get_prio_max() to return 0 on OpenBSD because it doesn't support it (thanks David Coppa for the patch)(re #1068)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/src/pj/os_core_unix.c

    r3057 r3180  
    312312    return sched_get_priority_min(policy); 
    313313#elif defined __OpenBSD__ 
     314    /* OpenBSD doesn't have sched_get_priority_min/_max */ 
    314315    return 0; 
    315316#else 
     
    336337    return sched_get_priority_max(policy); 
    337338#elif defined __OpenBSD__ 
    338     return 31; 
     339    /* OpenBSD doesn't have sched_get_priority_min/_max */ 
     340    return 0; 
    339341#else 
    340342    pj_assert("pj_thread_get_prio_max() not supported!"); 
Note: See TracChangeset for help on using the changeset viewer.