Ignore:
Timestamp:
Feb 21, 2013 11:26:35 AM (11 years ago)
Author:
bennylp
Message:

Fixed #1617: major synchronization fixes in PJNATH with incorporation of group lock to avoid deadlock and crashes due to race conditions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjnath/include/pjnath/ice_session.h

    r4196 r4360  
    613613    pj_pool_t           *pool;                      /**< Pool instance.     */ 
    614614    void                *user_data;                 /**< App. data.         */ 
    615     pj_mutex_t          *mutex;                     /**< Mutex.             */ 
     615    pj_grp_lock_t       *grp_lock;                  /**< Group lock         */ 
    616616    pj_ice_sess_role     role;                      /**< ICE role.          */ 
    617617    pj_ice_sess_options  opt;                       /**< Options            */ 
     
    731731 *                      generated. 
    732732 * @param local_passwd  Optional string to be used as local password. 
     733 * @param grp_lock      Optional group lock to be used by this session. 
     734 *                      If NULL, the session will create one itself. 
    733735 * @param p_ice         Pointer to receive the ICE session instance. 
    734736 * 
     
    742744                                        const pj_str_t *local_ufrag, 
    743745                                        const pj_str_t *local_passwd, 
     746                                        pj_grp_lock_t *grp_lock, 
    744747                                        pj_ice_sess **p_ice); 
    745748 
Note: See TracChangeset for help on using the changeset viewer.