-
- Downloads
conversation: avoid potential deadlock
convModule()->bootstrap should not use configurationMutex_ while locking conversations. Else we may have: thread 1: configurationMutex_->conversationsMtx_ thread 2: conversationsMtx_->configurationMutex_ causing a deadlock So, retrieve known devices before bootstrapping the conversation Change-Id: Ib194edaa255b5ffde9e58ea7e0be0226943bb118
Showing
- src/jamidht/conversation.cpp 2 additions, 8 deletionssrc/jamidht/conversation.cpp
- src/jamidht/conversation.h 2 additions, 1 deletionsrc/jamidht/conversation.h
- src/jamidht/conversation_module.cpp 13 additions, 3 deletionssrc/jamidht/conversation_module.cpp
- src/jamidht/jamiaccount.cpp 1 addition, 4 deletionssrc/jamidht/jamiaccount.cpp
Loading
Please register or sign in to comment