Changeset 4390


Ignore:
Timestamp:
Feb 27, 2013 11:37:02 AM (6 years ago)
Author:
ming
Message:

Re #1565: Backported to 1.x

Location:
pjproject/branches/1.x
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/1.x

  • pjproject/branches/1.x/pjlib-util/src/pjlib-util/resolver.c

    r3553 r4390  
    12491249    pj_hash_set(NULL, resolver->hquerybyres, &q->key, sizeof(q->key), 0, NULL); 
    12501250 
     1251    /* Workaround for deadlock problem in #1565 (similar to #1108) */ 
     1252    pj_mutex_unlock(resolver->mutex); 
     1253 
    12511254    /* Call application callback, if any. */ 
    12521255    if (q->cb) 
     
    12601263        cq = cq->next; 
    12611264    } 
     1265 
     1266    /* Workaround for deadlock problem in #1565 (similar to #1108) */ 
     1267    pj_mutex_lock(resolver->mutex); 
    12621268 
    12631269    /* Clear data */ 
Note: See TracChangeset for help on using the changeset viewer.