Ignore:
Timestamp:
Nov 22, 2018 2:39:29 AM (6 years ago)
Author:
ming
Message:

Re #2159: Replace std::mutex with PJSIP's own pj_mutex_t, since std::mutex is only available starting C++11

File:
1 edited

Legend:

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

    r5904 r5912  
    2929#include <list> 
    3030#include <map> 
    31 #include <mutex> 
    3231 
    3332/** PJSUA2 API is inside pj namespace */ 
     
    15981597    CodecInfoVector              videoCodecInfoList; 
    15991598    std::map<pj_thread_t*, pj_thread_desc*> threadDescMap; 
    1600     std::mutex                   threadDescMutex; 
     1599    pj_mutex_t                  *threadDescMutex; 
    16011600 
    16021601    /* Pending logging */ 
Note: See TracChangeset for help on using the changeset viewer.