Changeset 244 for pjproject/trunk


Ignore:
Timestamp:
Feb 27, 2006 11:52:06 PM (19 years ago)
Author:
bennylp
Message:

Temporary fix: added sleep() when epoll returns non-zero while no descriptor is actually set!

File:
1 edited

Legend:

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

    r126 r244  
    472472    } 
    473473 
     474    /* Special case: 
     475     * When epoll returns > 0 but no descriptors are actually set! 
     476     */ 
     477    if (count > 0 && !processed && msec > 0) { 
     478        pj_thread_sleep(msec); 
     479    } 
    474480    return processed; 
    475481} 
Note: See TracChangeset for help on using the changeset viewer.