Lines Matching defs:SyncVar
26 struct SyncVar { struct
29 static const int kInvalidTid = -1;
31 uptr addr; // overwritten by DenseSlabAlloc freelist
32 Mutex mtx;
33 u64 uid; // Globally unique id.
34 u32 creation_stack_id;
35 int owner_tid; // Set only by exclusive owners.
36 u64 last_lock;
37 int recursion;
38 bool is_rw;
39 bool is_recursive;
40 bool is_broken;
41 bool is_linker_init;
42 u32 next; // in MetaMap
43 DDMutex dd;
44 SyncClock read_clock; // Used for rw mutexes only.
47 SyncClock clock;
52 u64 GetId() const { in GetId()
56 bool CheckId(u64 uid) const { in CheckId()
80 SyncVar* GetOrCreateAndLock(ThreadState *thr, uptr pc, argument