- Timestamp:
- Oct 31, 2007 7:58:30 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/pjproject-0.5-stable/pjlib/src/pj/ioqueue_select.c
r1441 r1532 409 409 static void decrement_counter(pj_ioqueue_key_t *key) 410 410 { 411 pj_lock_acquire(key->ioqueue->lock); 411 412 pj_mutex_lock(key->ioqueue->ref_cnt_mutex); 412 413 --key->ref_count; … … 418 419 pj_time_val_normalize(&key->free_time); 419 420 420 pj_lock_acquire(key->ioqueue->lock);421 421 pj_list_erase(key); 422 422 pj_list_push_back(&key->ioqueue->closing_list, key); 423 423 /* Rescan fdset to get max descriptor */ 424 424 rescan_fdset(key->ioqueue); 425 pj_lock_release(key->ioqueue->lock);426 425 } 427 426 pj_mutex_unlock(key->ioqueue->ref_cnt_mutex); 427 pj_lock_release(key->ioqueue->lock); 428 428 } 429 429 #endif
Note: See TracChangeset
for help on using the changeset viewer.