OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:SyncVar
(Results
1 - 2
of
2
) sorted by null
/external/compiler-rt/lib/tsan/rtl/
tsan_sync.cc
20
SyncVar
::
SyncVar
(uptr addr, u64 uid)
44
SyncVar
*tmp = tab_[i].val;
51
SyncVar
* SyncTab::GetOrCreateAndLock(ThreadState *thr, uptr pc,
56
SyncVar
* SyncTab::GetIfExistsAndLock(uptr addr, bool write_lock) {
60
SyncVar
* SyncTab::Create(ThreadState *thr, uptr pc, uptr addr) {
62
void *mem = internal_alloc(MBlockSync, sizeof(
SyncVar
));
64
SyncVar
*res = new(mem)
SyncVar
(addr, uid);
71
SyncVar
* SyncTab::GetAndLock(ThreadState *thr, uptr pc
[
all
...]
tsan_sync.h
52
struct
SyncVar
{
53
explicit
SyncVar
(uptr addr, u64 uid);
70
SyncVar
*next; // In SyncTab hashtable.
92
SyncVar
* GetOrCreateAndLock(ThreadState *thr, uptr pc,
94
SyncVar
* GetIfExistsAndLock(uptr addr, bool write_lock);
96
// If the
SyncVar
does not exist, returns 0.
97
SyncVar
* GetAndRemove(ThreadState *thr, uptr pc, uptr addr);
99
SyncVar
* Create(ThreadState *thr, uptr pc, uptr addr);
106
SyncVar
*val;
107
char pad[kCacheLineSize - sizeof(Mutex) - sizeof(
SyncVar
*)]; // NOLIN
[
all
...]
Completed in 119 milliseconds