Changeset 16 for pjproject/main


Ignore:
Timestamp:
Nov 6, 2005 5:47:14 PM (19 years ago)
Author:
bennylp
Message:

Disable validate_set as it's not valid anymore

File:
1 edited

Legend:

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

    r14 r16  
    6868 * This will check the validity of the fd_sets. 
    6969 */ 
     70/* 
    7071#if defined(PJ_DEBUG) && PJ_DEBUG != 0 
    7172#  define VALIDATE_FD_SET               1 
     
    7374#  define VALIDATE_FD_SET               0 
    7475#endif 
     76*/ 
     77#define VALIDATE_FD_SET     0 
    7578 
    7679/* 
     
    271274{ 
    272275    pj_ioqueue_key_t *key; 
     276 
     277    /* 
     278     * This basicly would not work anymore. 
     279     * We need to lock key before performing the check, but we can't do 
     280     * so because we're holding ioqueue mutex. If we acquire key's mutex 
     281     * now, the will cause deadlock. 
     282     */ 
     283    pj_assert(0); 
    273284 
    274285    key = ioqueue->key_list.next; 
Note: See TracChangeset for help on using the changeset viewer.