Ignore:
Timestamp:
Dec 17, 2008 11:36:22 AM (13 years ago)
Author:
nanang
Message:

Ticket #675:

  • Fixed ICE+STUN panic E32User-CBASE 46, the problem seems to be inside the Symbian version of pjsua_handle_events().
  • Updated minor things, e.g: compile warnings
File:
1 edited

Legend:

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

    r2315 r2379  
    828828static void busy_sleep(unsigned msec) 
    829829{ 
    830 #if defined(PJ_SYMBIAN) && PJ_SYMBIAN != 0 
    831     /* Ideally we shouldn't call pj_thread_sleep() and rather 
    832      * CActiveScheduler::WaitForAnyRequest() here, but that will 
    833      * drag in Symbian header and it doesn't look pretty. 
    834      */ 
    835     pj_thread_sleep(msec); 
    836 #else 
    837830    pj_time_val timeout, now; 
    838831 
     
    846839        pj_gettimeofday(&now); 
    847840    } while (PJ_TIME_VAL_LT(now, timeout)); 
    848 #endif 
    849841} 
    850842 
     
    12041196{ 
    12051197#if defined(PJ_SYMBIAN) && PJ_SYMBIAN != 0 
    1206     /* Ideally we shouldn't call pj_thread_sleep() and rather 
    1207      * CActiveScheduler::WaitForAnyRequest() here, but that will 
    1208      * drag in Symbian header and it doesn't look pretty. 
    1209      */ 
    1210     pj_thread_sleep(msec_timeout); 
    1211     return msec_timeout; 
     1198 
     1199    return pj_symbianos_poll(-1, msec_timeout); 
     1200 
    12121201#else 
    12131202 
     
    12261215 
    12271216    return count; 
     1217     
    12281218#endif 
    12291219} 
Note: See TracChangeset for help on using the changeset viewer.