Searched refs:socketMutex_ (Results 1 – 10 of 10) sorted by relevance
34 std::mutex SoftBusSocketListener::socketMutex_; member in OHOS::Security::AccessToken::SoftBusSocketListener47 std::lock_guard<std::mutex> guard(socketMutex_); in OnBind()66 std::lock_guard<std::mutex> guard(socketMutex_); in OnShutdown()80 std::lock_guard<std::mutex> guard(socketMutex_); in GetNetworkIdBySocket()140 std::lock_guard<std::mutex> guard(socketMutex_); in CleanUpAllBindSocket()
63 std::unique_lock<std::mutex> lock(socketMutex_); in BuildConnection()105 std::unique_lock<std::mutex> lock(self->socketMutex_); in CloseConnection()152 std::unique_lock<std::mutex> lock(socketMutex_); in InsertCallback()192 std::unique_lock<std::mutex> lock2(socketMutex_); in ExecuteCommand()326 std::unique_lock<std::mutex> lock(socketMutex_); in SendRequestBytes()436 std::unique_lock<std::mutex> lock(socketMutex_); in HandleResponse()
104 std::lock_guard<std::recursive_mutex> lock(socketMutex_); in AddServerSocket()118 std::lock_guard<std::recursive_mutex> lock(socketMutex_); in DeleteServerSocket()129 std::lock_guard<std::recursive_mutex> lock(socketMutex_); in GetNetworkIdBySocketId()
642 std::lock_guard<std::recursive_mutex> lock(socketMutex_); in AddSocket()651 std::lock_guard<std::recursive_mutex> lock(socketMutex_); in DeleteSocket()665 std::lock_guard<std::recursive_mutex> lock(socketMutex_); in FindSocketBySocketId()
39 static std::mutex socketMutex_;
288 std::mutex socketMutex_; variable
52 std::recursive_mutex socketMutex_; variable
95 std::recursive_mutex socketMutex_; variable
64 std::mutex socketMutex_; variable
233 std::lock_guard<std::mutex> lock(socketMutex_); in CreatSocketId()328 std::lock_guard<std::mutex> lock(socketMutex_); in CloseSession()