Home
last modified time | relevance | path

Searched refs:VectorClock (Results 1 – 6 of 6) sorted by relevance

/openbsd-src/gnu/llvm/compiler-rt/lib/tsan/rtl/
H A Dtsan_vector_clock.cpp23 VectorClock::VectorClock() { Reset(); } in VectorClock() function in __tsan::VectorClock
25 void VectorClock::Reset() { in Reset()
36 void VectorClock::Acquire(const VectorClock* src) { in Acquire()
54 static VectorClock* AllocClock(VectorClock** dstp) { in AllocClock()
56 *dstp = New<VectorClock>(); in AllocClock()
60 void VectorClock::Release(VectorClock** dstp) const { in Release()
61 VectorClock* dst = AllocClock(dstp); in Release()
65 void VectorClock::ReleaseStore(VectorClock** dstp) const { in ReleaseStore()
66 VectorClock* dst = AllocClock(dstp); in ReleaseStore()
70 VectorClock& VectorClock::operator=(const VectorClock& other) { in operator =()
[all …]
H A Dtsan_vector_clock.h20 class VectorClock {
22 VectorClock();
28 void Acquire(const VectorClock* src);
29 void Release(VectorClock** dstp) const;
30 void ReleaseStore(VectorClock** dstp) const;
31 void ReleaseStoreAcquire(VectorClock** dstp);
32 void ReleaseAcquire(VectorClock** dstp);
34 VectorClock& operator=(const VectorClock& other);
40 ALWAYS_INLINE Epoch VectorClock::Get(Sid sid) const { in Get()
44 ALWAYS_INLINE void VectorClock::Set(Sid sid, Epoch v) { in Set()
H A Dtsan_sync.h64 VectorClock *read_clock; // Used for rw mutexes only.
65 VectorClock *clock;
H A Dtsan_rtl_thread.cpp111 VectorClock *sync;
289 VectorClock *sync;
H A Dtsan_rtl.h178 VectorClock clock;
227 VectorClock last_sleep_clock;
270 VectorClock *sync;
/openbsd-src/gnu/llvm/compiler-rt/lib/tsan/tests/unit/
H A Dtsan_vector_clock_test.cpp19 TEST(VectorClock, GetSet) { in TEST() argument
21 VectorClock *vc = New<VectorClock>(); in TEST()
34 TEST(VectorClock, VectorOps) { in TEST() argument
35 VectorClock *vc1 = New<VectorClock>(); in TEST()
36 VectorClock *vc2 = nullptr; in TEST()
37 VectorClock *vc3 = nullptr; in TEST()