Searched refs:cur_msg (Results 1 – 1 of 1) sorted by relevance
2598 std::string* cur_msg = fault_message_.exchange(new_msg); in SetFaultMessage() local2599 delete cur_msg; in SetFaultMessage()2605 std::string* cur_msg = fault_message_.exchange(nullptr); in GetFaultMessage() local2608 std::string ret = cur_msg == nullptr ? "" : *cur_msg; in GetFaultMessage()2612 if (!fault_message_.compare_exchange_strong(null_str, cur_msg)) { in GetFaultMessage()2614 delete cur_msg; in GetFaultMessage()