Changeset 2379 for pjproject/trunk/pjlib/src/pj/os_core_symbian.cpp
- Timestamp:
- Dec 17, 2008 11:36:22 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/src/pj/os_core_symbian.cpp
r2039 r2379 90 90 CPjTimeoutTimer::~CPjTimeoutTimer() 91 91 { 92 if (IsActive()) 93 Cancel(); 92 Cancel(); 94 93 timer_.Close(); 95 94 } … … 116 115 void CPjTimeoutTimer::StartTimer(TUint miliSeconds) 117 116 { 118 if (IsActive()) 119 Cancel(); 117 Cancel(); 120 118 121 119 hasTimedOut_ = PJ_FALSE; … … 330 328 err = os->Initialize(); 331 329 if (err != KErrNone) 332 return status;330 return PJ_RETURN_OS_ERROR(err); 333 331 334 332 /* Initialize exception ID for the pool. … … 453 451 454 452 if (priority==-1) 455 priority = CActive::EPriorityStandard;453 priority = EPriorityNull; 456 454 457 455 if (ms_timeout >= 0) { … … 464 462 bool timer_is_active = timer->IsActive(); 465 463 466 if (timer_is_active) 467 timer->Cancel(); 464 timer->Cancel(); 468 465 469 466 delete timer; … … 623 620 { 624 621 User::After(msec*1000); 625 626 TInt aError; 627 while (CActiveScheduler::RunIfReady(aError, EPriorityMuchLess)) 628 ; 629 622 630 623 return PJ_SUCCESS; 631 624 }
Note: See TracChangeset
for help on using the changeset viewer.