Replace deprecated thread annotations macros.

PiperOrigin-RevId: 353633546
Change-Id: Ie8c7e1b59356b0a59527709051d05ba2639b153d
This commit is contained in:
A. Unique TensorFlower 2021-01-25 06:24:47 -08:00 committed by TensorFlower Gardener
parent ec3f47d69a
commit 24041b6681

View File

@ -148,7 +148,7 @@ class DistributedRuntimeClient {
// state_ is protected by a mutex because the heartbeat thread needs to look
// at it.
absl::Mutex mu_;
State state_ GUARDED_BY(mu_) = State::kNotConnected;
State state_ ABSL_GUARDED_BY(mu_) = State::kNotConnected;
// A unique session ID, assigned by the server during Connect().
uint64 session_id_;