Ignore:
Timestamp:
Feb 21, 2013 11:26:35 AM (6 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/stun_sock.h

    r4343 r4360  
    2828#include <pjlib-util/resolver.h> 
    2929#include <pj/ioqueue.h> 
     30#include <pj/lock.h> 
    3031#include <pj/sock.h> 
    3132#include <pj/sock_qos.h> 
     
    218219typedef struct pj_stun_sock_cfg 
    219220{ 
     221    /** 
     222     * The group lock to be used by the STUN socket. If NULL, the STUN socket 
     223     * will create one internally. 
     224     * 
     225     * Default: NULL 
     226     */ 
     227    pj_grp_lock_t *grp_lock; 
     228 
    220229    /** 
    221230     * Packet buffer size. 
Note: See TracChangeset for help on using the changeset viewer.