Ignore:
Timestamp:
Jun 22, 2009 7:18:55 PM (15 years ago)
Author:
bennylp
Message:

Ticket #891: fixed deadlock on pjlib-test ioqueue unregister stress test. This seems to have fixed the Bus error too

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/src/pjlib-test/ioq_unreg.c

    r2394 r2782  
    251251            sock_data.pool)  
    252252        { 
    253             pj_mutex_lock(sock_data.mutex); 
     253            //Can't do this otherwise it'll deadlock 
     254            //pj_mutex_lock(sock_data.mutex); 
    254255 
    255256            sock_data.unregistered = 1; 
    256257            pj_ioqueue_unregister(sock_data.key); 
    257             pj_mutex_unlock(sock_data.mutex); 
     258            //pj_mutex_unlock(sock_data.mutex); 
    258259            pj_mutex_destroy(sock_data.mutex); 
    259260            pj_pool_release(sock_data.pool); 
Note: See TracChangeset for help on using the changeset viewer.