Home | History | Annotate | Download | only in synchronization

Lines Matching refs:kernel_

43     : kernel_(new WaitableEventKernel(manual_reset, initially_signaled)) {
50 base::AutoLock locked(kernel_->lock_);
51 kernel_->signaled_ = false;
55 base::AutoLock locked(kernel_->lock_);
57 if (kernel_->signaled_)
60 if (kernel_->manual_reset_) {
62 kernel_->signaled_ = true;
67 kernel_->signaled_ = true;
72 base::AutoLock locked(kernel_->lock_);
74 const bool result = kernel_->signaled_;
75 if (result && !kernel_->manual_reset_)
76 kernel_->signaled_ = false;
165 kernel_->lock_.Acquire();
166 if (kernel_->signaled_) {
167 if (!kernel_->manual_reset_) {
170 kernel_->signaled_ = false;
173 kernel_->lock_.Release();
181 kernel_->lock_.Release();
205 kernel_->lock_.Acquire();
206 kernel_->Dequeue(&sw, &sw);
207 kernel_->lock_.Release();
271 waitables[count - (1 + i)].first->kernel_->lock_.Release();
291 raw_waitables[i]->kernel_->lock_.Acquire();
295 raw_waitables[i]->kernel_->Dequeue(&sw, &sw);
296 raw_waitables[i]->kernel_->lock_.Release();
301 raw_waitables[i]->kernel_->lock_.Acquire();
302 raw_waitables[i]->kernel_->lock_.Release();
327 waitables[0].first->kernel_->lock_.Acquire();
328 if (waitables[0].first->kernel_->signaled_) {
329 if (!waitables[0].first->kernel_->manual_reset_)
330 waitables[0].first->kernel_->signaled_ = false;
331 waitables[0].first->kernel_->lock_.Release();
337 waitables[0].first->kernel_->lock_.Release();
367 i = kernel_->waiters_.begin(); i != kernel_->waiters_.end(); ++i) {
372 kernel_->waiters_.clear();
382 if (kernel_->waiters_.empty())
385 const bool r = (*kernel_->waiters_.begin())->Fire(this);
386 kernel_->waiters_.pop_front();
396 kernel_->waiters_.push_back(waiter);