Lines Matching full:barrier
17 #include "barrier.h"
26 Barrier::Barrier(int count)
28 lock_("GC barrier lock", kThreadSuspendCountLock),
29 condition_("GC barrier condition", lock_) {
32 void Barrier::Pass(Thread* self) {
37 void Barrier::Wait(Thread* self) {
41 void Barrier::Init(Thread* self, int count) {
46 void Barrier::Increment(Thread* self, int delta) {
51 // then all the threads have already passed the barrier. If
62 bool Barrier::Increment(Thread* self, int delta, uint32_t timeout_ms) {
83 void Barrier::SetCountLocked(Thread* self, int count) {
90 Barrier::~Barrier() {
93 CHECK_EQ(count_, 0) << "Attempted to destroy barrier with non zero count";
96 LOG(WARNING) << "Attempted to destroy barrier with non zero count " << count_;