Ignore:
Timestamp:
Mar 2, 2009 3:48:45 PM (16 years ago)
Author:
nanang
Message:

Ticket #732:

  • Added new Symbian specific API in PJLIB, pj_symbianos_set_connection_status(), to let PJLIB knows the connection status.
  • Added connection status checks before Symbian socket operations.
  • Added loop limiter in Symbian busy_sleep() to avoid the possibility of infinite loop.
  • Added sample of connection monitor in Symbian sample application (ua.cpp).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_core.c

    r2448 r2481  
    836836 
    837837    do { 
    838         while (pjsua_handle_events(10) > 0) 
    839             ; 
     838        int i; 
     839        i = msec / 10; 
     840        while (pjsua_handle_events(10) > 0 && i > 0) 
     841            --i; 
    840842        pj_gettimeofday(&now); 
    841843    } while (PJ_TIME_VAL_LT(now, timeout)); 
Note: See TracChangeset for help on using the changeset viewer.