Changeset 5904 for pjproject/trunk/pjsip/src/pjsua2/endpoint.cpp
- Timestamp:
- Nov 5, 2018 2:40:54 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua2/endpoint.cpp
r5899 r5904 1711 1711 status = pj_thread_register(name.c_str(), *desc, &thread); 1712 1712 if (status == PJ_SUCCESS) { 1713 std::lock_guard<std::mutex> guard(threadDescMutex); 1713 1714 threadDescMap[thread] = desc; 1714 1715 } else { … … 1721 1722 { 1722 1723 if (pj_thread_is_registered()) { 1724 std::lock_guard<std::mutex> guard(threadDescMutex); 1723 1725 /* Recheck again if it exists in the thread description map */ 1724 1726 return (threadDescMap.find(pj_thread_this()) != threadDescMap.end());
Note: See TracChangeset
for help on using the changeset viewer.