Replace deprecated thread annotations macros.

PiperOrigin-RevId: 292326427
Change-Id: Iebd745bf0c6b0b14e090462a9df44ebd7d374c7d
This commit is contained in:
Sandboxed API Team 2020-01-30 05:07:16 -08:00 committed by Copybara-Service
parent 54cd192442
commit b9c866410d

View File

@ -201,7 +201,7 @@ class Comms {
// Receives tag and length. Assumes that the `tlv_transmission_mutex_` mutex
// is locked.
bool RecvTL(uint32_t* tag, uint64_t* length)
EXCLUSIVE_LOCKS_REQUIRED(tlv_recv_transmission_mutex_);
ABSL_EXCLUSIVE_LOCKS_REQUIRED(tlv_recv_transmission_mutex_);
// Receives whole TLV structure, allocates memory for the data.
bool RecvTLV(TLV* tlv);