Changeset 4374 for pjproject/trunk/pjlib/src/pj/timer_symbian.cpp
- Timestamp:
- Feb 27, 2013 7:15:57 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/src/pj/timer_symbian.cpp
r3553 r4374 393 393 } 394 394 395 PJ_DEF(pj_status_t) pj_timer_heap_schedule_w_grp_lock(pj_timer_heap_t *ht, 396 pj_timer_entry *entry, 397 const pj_time_val *delay, 398 int id_val, 399 pj_grp_lock_t *grp_lock) 400 { 401 pj_status_t status; 402 403 PJ_UNUSED_ARG(grp_lock); 404 405 status = pj_timer_heap_schedule(ht, entry, delay); 406 407 if (status == PJ_SUCCESS) 408 entry->id = id_val; 409 410 return status; 411 } 412 395 413 PJ_DEF(int) pj_timer_heap_cancel( pj_timer_heap_t *ht, 396 414 pj_timer_entry *entry) … … 412 430 } 413 431 432 PJ_DEF(int) pj_timer_heap_cancel_if_active(pj_timer_heap_t *ht, 433 pj_timer_entry *entry, 434 int id_val) 435 { 436 int count = pj_timer_heap_cancel(ht, entry); 437 if (count == 1) 438 entry->id = id_val; 439 440 return count; 441 } 442 414 443 PJ_DEF(unsigned) pj_timer_heap_poll( pj_timer_heap_t *ht, 415 444 pj_time_val *next_delay )
Note: See TracChangeset
for help on using the changeset viewer.