Changing the copy-on-write semantics of resource variables.
A variable now has a bit which can be turned on which, when turned on, makes that variable act as copy-on-read instead of copy-on-write. This allows sparse writes to happen concurrently while only holding a shared lock, mimicking the use_locking behavior of ref variables. PiperOrigin-RevId: 224855851
Showing
想要评论请 注册 或 登录