Which is threadsafe atomic or non atomic?

前端 未结 7 1771
广开言路
广开言路 2020-12-02 07:05

I searched and found immutable are thread safe while mutable is not. This is fine. But i got misleading notes, blogs, answers about atomic vs non-atomic about thread safety,

相关标签:
7条回答
  • 2020-12-02 08:09

    Non atomic is thread safe. Guranted get value of variable.

    0 讨论(0)
提交回复
热议问题