Commit 95358d2d authored by Alexandre Passos's avatar Alexandre Passos Committed by TensorFlower Gardener
Browse files

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
parent 4e7564ef
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment