|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
projects/compiler-rt/lib/tsan/dd/dd_interceptors.cpp 28 if (thr != 0)
35 thr = (Thread*)InternalAlloc(sizeof(*thr));
35 thr = (Thread*)InternalAlloc(sizeof(*thr));
36 internal_memset(thr, 0, sizeof(*thr));
36 internal_memset(thr, 0, sizeof(*thr));
37 ThreadInit(thr);
44 MutexDestroy(thr, (uptr)m);
50 MutexBeforeLock(thr, (uptr)m, true);
52 MutexAfterLock(thr, (uptr)m, true, false);
60 MutexAfterLock(thr, (uptr)m, true, true);
66 MutexBeforeUnlock(thr, (uptr)m, true);
73 MutexDestroy(thr, (uptr)m);
79 MutexBeforeLock(thr, (uptr)m, true);
81 MutexAfterLock(thr, (uptr)m, true, false);
89 MutexAfterLock(thr, (uptr)m, true, true);
95 MutexBeforeUnlock(thr, (uptr)m, true);
101 MutexDestroy(thr, (uptr)m);
107 MutexBeforeLock(thr, (uptr)m, false);
109 MutexAfterLock(thr, (uptr)m, false, false);
117 MutexAfterLock(thr, (uptr)m, false, true);
126 MutexAfterLock(thr, (uptr)m, false, true);
132 MutexBeforeLock(thr, (uptr)m, true);
134 MutexAfterLock(thr, (uptr)m, true, false);
142 MutexAfterLock(thr, (uptr)m, true, true);
151 MutexAfterLock(thr, (uptr)m, true, true);
157 MutexBeforeUnlock(thr, (uptr)m, true); // note: not necessary write unlock
185 MutexBeforeUnlock(thr, (uptr)m, true);
186 MutexBeforeLock(thr, (uptr)m, true);
188 MutexAfterLock(thr, (uptr)m, true, false);
196 MutexBeforeUnlock(thr, (uptr)m, true);
197 MutexBeforeLock(thr, (uptr)m, true);
199 MutexAfterLock(thr, (uptr)m, true, false);
244 MutexBeforeLock(thr, m, writelock);
250 MutexAfterLock(thr, m, writelock, trylock);
256 MutexBeforeUnlock(thr, m, writelock);
264 MutexDestroy(thr, m);