c++ is unordered_map thread safe with one thread write and a second thread read, no new element insert?

后端 未结 0 1801
死守一世寂寞
死守一世寂寞 2020-12-25 13:36

I have the following senario,

class enum class Status {
    Unknown, Pause, Normal, Resume
}

std::unordered_map status_map;
相关标签:
回答
  • 消灭零回复
提交回复
热议问题