Changeset 1531 for pjproject/trunk/pjlib/src/pj/ioqueue_select.c
- Timestamp:
- Oct 31, 2007 7:53:17 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/src/pj/ioqueue_select.c
r1440 r1531 393 393 static void decrement_counter(pj_ioqueue_key_t *key) 394 394 { 395 pj_lock_acquire(key->ioqueue->lock); 395 396 pj_mutex_lock(key->ioqueue->ref_cnt_mutex); 396 397 --key->ref_count; … … 402 403 pj_time_val_normalize(&key->free_time); 403 404 404 pj_lock_acquire(key->ioqueue->lock);405 405 pj_list_erase(key); 406 406 pj_list_push_back(&key->ioqueue->closing_list, key); 407 407 /* Rescan fdset to get max descriptor */ 408 408 rescan_fdset(key->ioqueue); 409 pj_lock_release(key->ioqueue->lock);410 409 } 411 410 pj_mutex_unlock(key->ioqueue->ref_cnt_mutex); 411 pj_lock_release(key->ioqueue->lock); 412 412 } 413 413 #endif
Note: See TracChangeset
for help on using the changeset viewer.