Changeset 2379 for pjproject/trunk/pjsip/src/pjsua-lib/pjsua_core.c
- Timestamp:
- Dec 17, 2008 11:36:22 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_core.c
r2315 r2379 828 828 static void busy_sleep(unsigned msec) 829 829 { 830 #if defined(PJ_SYMBIAN) && PJ_SYMBIAN != 0831 /* Ideally we shouldn't call pj_thread_sleep() and rather832 * CActiveScheduler::WaitForAnyRequest() here, but that will833 * drag in Symbian header and it doesn't look pretty.834 */835 pj_thread_sleep(msec);836 #else837 830 pj_time_val timeout, now; 838 831 … … 846 839 pj_gettimeofday(&now); 847 840 } while (PJ_TIME_VAL_LT(now, timeout)); 848 #endif849 841 } 850 842 … … 1204 1196 { 1205 1197 #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 1212 1201 #else 1213 1202 … … 1226 1215 1227 1216 return count; 1217 1228 1218 #endif 1229 1219 }
Note: See TracChangeset
for help on using the changeset viewer.