Ignore:
Timestamp:
Mar 2, 2009 3:50:12 PM (15 years ago)
Author:
nanang
Message:

Ticket #733:

  • 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/branches/1.0/pjsip/src/pjsua-lib/pjsua_core.c

    r2394 r2482  
    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.