Lines Matching defs:SyncVar
50 struct SyncVar { struct
53 static const int kInvalidTid = -1;
55 uptr addr; // overwritten by DenseSlabAlloc freelist
56 Mutex mtx;
57 u64 uid; // Globally unique id.
58 u32 creation_stack_id;
59 int owner_tid; // Set only by exclusive owners.
60 u64 last_lock;
61 int recursion;
62 atomic_uint32_t flags;
63 u32 next; // in MetaMap
64 DDMutex dd;
65 SyncClock read_clock; // Used for rw mutexes only.
68 SyncClock clock;
73 u64 GetId() const { in GetId()
77 bool CheckId(u64 uid) const { in CheckId()
102 // lock on the SyncVar. in UpdateFlags() argument