Changeset 2300 for pjproject/trunk/pjlib/src/pj/ioqueue_epoll.c
- Timestamp:
- Sep 19, 2008 10:18:50 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/src/pj/ioqueue_epoll.c
r2295 r2300 254 254 pj_list_init(&ioqueue->free_list); 255 255 pj_list_init(&ioqueue->closing_list); 256 pj_list_init(&ioqueue->active_list); 256 257 257 258 … … 492 493 493 494 ioqueue = key->ioqueue; 495 496 /* Lock the key to make sure no callback is simultaneously modifying 497 * the key. We need to lock the key before ioqueue here to prevent 498 * deadlock. 499 */ 500 pj_mutex_lock(key->mutex); 501 502 /* Also lock ioqueue */ 494 503 pj_lock_acquire(ioqueue->lock); 495 504
Note: See TracChangeset
for help on using the changeset viewer.