Ignore:
Timestamp:
Nov 6, 2005 7:46:48 PM (19 years ago)
Author:
bennylp
Message:

Tested UDP echo server on Win2K

File:
1 edited

Legend:

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

    r14 r17  
    288288        /* Done. */ 
    289289    } else { 
    290         pj_assert(!"Descriptor is signaled but key " 
    291                    "has no pending operation!"); 
    292  
     290        /* 
     291         * This is normal; execution may fall here when multiple threads 
     292         * are signalled for the same event, but only one thread eventually 
     293         * able to process the event. 
     294         */ 
    293295        pj_mutex_unlock(h->mutex); 
    294296    } 
     
    417419 
    418420    } else { 
     421        /* 
     422         * This is normal; execution may fall here when multiple threads 
     423         * are signalled for the same event, but only one thread eventually 
     424         * able to process the event. 
     425         */ 
    419426        pj_mutex_unlock(h->mutex); 
    420427    } 
     
    617624    write_op = (struct write_operation*)op_key; 
    618625    write_op->op = PJ_IOQUEUE_OP_SEND; 
    619     write_op->buf = NULL; 
     626    write_op->buf = (void*)data; 
    620627    write_op->size = *length; 
    621628    write_op->written = 0; 
     
    695702    write_op = (struct write_operation*)op_key; 
    696703    write_op->op = PJ_IOQUEUE_OP_SEND_TO; 
    697     write_op->buf = NULL; 
     704    write_op->buf = (void*)data; 
    698705    write_op->size = *length; 
    699706    write_op->written = 0; 
Note: See TracChangeset for help on using the changeset viewer.