is reference assignment atomic in Swift 5?

后端 未结 0 673
谎友^
谎友^ 2021-01-21 22:34

Do I need some kind of explicit synchronization in this case?

class A { var a1 = 1; … }

public class B {
  var a: A = n         


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