Changeset 561


Ignore:
Timestamp:
Jun 28, 2006 4:14:17 PM (16 years ago)
Author:
bennylp
Message:

Removed mutex protection in pjsip_endpt_create_pool() since the pool factory is already thread-safe

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip/sip_endpoint.c

    r491 r561  
    554554 
    555555    /* Lock endpoint mutex. */ 
     556    /* No need to lock mutex. Factory is thread safe. 
    556557    pj_mutex_lock(endpt->mutex); 
     558     */ 
    557559 
    558560    /* Create pool */ 
     
    561563 
    562564    /* Unlock mutex. */ 
     565    /* No need to lock mutex. Factory is thread safe. 
    563566    pj_mutex_unlock(endpt->mutex); 
     567     */ 
    564568 
    565569    if (!pool) { 
Note: See TracChangeset for help on using the changeset viewer.