Ignore:
Timestamp:
Mar 13, 2008 9:51:51 PM (17 years ago)
Author:
bennylp
Message:

Ticket #512: Bug in select ioqueue causing unnecessary sleep() to be invoked (thanks Sergey Bakulin)

File:
1 edited

Legend:

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

    r1788 r1868  
    690690                           timeout); 
    691691     
    692     if (count <= 0) 
     692    if (count == 0) 
     693        return 0; 
     694    else if (count < 0) 
    693695        return -pj_get_netos_error(); 
    694696    else if (count > PJ_IOQUEUE_MAX_EVENTS_IN_SINGLE_POLL) 
Note: See TracChangeset for help on using the changeset viewer.