Ignore:
Timestamp:
Nov 5, 2018 2:40:54 AM (23 months ago)
Author:
ming
Message:

Fixed #2159: Add synchronization for Endpoint::libRegisterThread()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsua2/endpoint.hpp

    r5834 r5904  
    2929#include <list> 
    3030#include <map> 
     31#include <mutex> 
    3132 
    3233/** PJSUA2 API is inside pj namespace */ 
     
    15971598    CodecInfoVector              videoCodecInfoList; 
    15981599    std::map<pj_thread_t*, pj_thread_desc*> threadDescMap; 
     1600    std::mutex                   threadDescMutex; 
    15991601 
    16001602    /* Pending logging */ 
Note: See TracChangeset for help on using the changeset viewer.