Home | History | Annotate | Download | only in tsan

Lines Matching defs:ThreadClock

16 // SyncClock and ThreadClock implement vector clocks for sync variables
18 // ThreadClock contains fixed-size vector clock for maximum number of threads.
23 // void ThreadClock::acquire(const SyncClock *src) {
28 // void ThreadClock::release(SyncClock *dst) const {
33 // void ThreadClock::releaseStoreAcquire(SyncClock *sc) const {
41 // void ThreadClock::ReleaseStore(SyncClock *dst) const {
46 // void ThreadClock::acq_rel(SyncClock *dst) {
68 // an exclusive lock; ThreadClock's are private to respective threads and so
107 ThreadClock::ThreadClock(unsigned tid, unsigned reused)
121 void ThreadClock::ResetCached(ClockCache *c) {
130 void ThreadClock::acquire(ClockCache *c, SyncClock *src) {
176 void ThreadClock::releaseStoreAcquire(ClockCache *c, SyncClock *sc) {
218 void ThreadClock::release(ClockCache *c, SyncClock *dst) {
265 void ThreadClock::ReleaseStore(ClockCache *c, SyncClock *dst) {
308 // Note: dst can be larger than this ThreadClock.
337 void ThreadClock::acq_rel(ClockCache *c, SyncClock *dst) {
343 void ThreadClock::UpdateCurrentThread(ClockCache *c, SyncClock *dst) const {
364 bool ThreadClock::IsAlreadyAcquired(const SyncClock *src) const {
379 bool ThreadClock::HasAcquiredAfterRelease(const SyncClock *dst) const {
387 void ThreadClock::set(ClockCache *c, unsigned tid, u64 v) {
397 void ThreadClock::DebugDump(int(*printf)(const char *s, ...)) {