Ignore:
Timestamp:
Jan 13, 2010 1:09:45 PM (15 years ago)
Author:
bennylp
Message:

Initial OpenBSD fixes (#994):
pjlib:

  • Autoconf fixes in detecting header availability
  • Undefined sched_get_priority_max() and sched_get_priority_min()
    • protect with #ifdef _POSIX_PRIORITY_SCHEDULING, and
    • return hardcoded (0, 31) if OpenBSD macro is declared
  • Better GUID generation

pjlib-test:

  • Reduce the loop in PJILB activesock test
  • Fixed bug in ioqueue unregistration test which caused assertion error in destroying mutex

pjlib-util-test:

  • Fixed bug in pjlib-util resolver test
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/src/pjlib-test/activesock.c

    r3048 r3057  
    338338static int tcp_perf_test(void) 
    339339{ 
    340     enum { COUNT=100000 }; 
     340    enum { COUNT=10000 }; 
    341341    pj_pool_t *pool = NULL; 
    342342    pj_ioqueue_t *ioqueue = NULL; 
     
    437437                } 
    438438        } 
     439 
     440#ifndef PJ_SYMBIAN 
     441        for (;;) { 
     442            pj_time_val timeout = {0, 10}; 
     443            if (pj_ioqueue_poll(ioqueue, &timeout) < 1) 
     444                break; 
     445        } 
     446#endif 
     447 
    439448    } 
    440449 
Note: See TracChangeset for help on using the changeset viewer.