Ignore:
Timestamp:
Apr 27, 2012 1:32:12 AM (13 years ago)
Author:
bennylp
Message:

Re #1474: merged r4100-4107

Location:
pjproject/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk

  • pjproject/trunk/pjlib/src/pjlib-test/udp_echo_srv_ioqueue.c

    r3553 r4108  
    2323static pj_ioqueue_key_t *key; 
    2424static pj_atomic_t *total_bytes; 
     25static pj_bool_t thread_quit_flag; 
    2526 
    2627struct op_key 
     
    146147    } 
    147148     
    148     for (;;) { 
     149    while (!thread_quit_flag) { 
    149150        pj_time_val timeout; 
    150151        timeout.sec = 0; timeout.msec = 10; 
    151152        rc = pj_ioqueue_poll(ioqueue, &timeout); 
    152153    } 
    153     PJ_UNREACHED(return 0;) 
     154    return 0; 
    154155} 
    155156 
Note: See TracChangeset for help on using the changeset viewer.