Lines Matching refs:kernel_
38 : kernel_(new WaitableEventKernel(manual_reset, initially_signaled)) {
45 base::AutoLock locked(kernel_->lock_);
46 kernel_->signaled_ = false;
50 base::AutoLock locked(kernel_->lock_);
52 if (kernel_->signaled_)
55 if (kernel_->manual_reset_) {
57 kernel_->signaled_ = true;
62 kernel_->signaled_ = true;
67 base::AutoLock locked(kernel_->lock_);
69 const bool result = kernel_->signaled_;
70 if (result && !kernel_->manual_reset_)
71 kernel_->signaled_ = false;
160 kernel_->lock_.Acquire();
161 if (kernel_->signaled_) {
162 if (!kernel_->manual_reset_) {
165 kernel_->signaled_ = false;
168 kernel_->lock_.Release();
176 kernel_->lock_.Release();
195 kernel_->lock_.Acquire();
196 kernel_->Dequeue(&sw, &sw);
197 kernel_->lock_.Release();
260 waitables[count - (1 + i)].first->kernel_->lock_.Release();
280 raw_waitables[i]->kernel_->lock_.Acquire();
284 raw_waitables[i]->kernel_->Dequeue(&sw, &sw);
285 raw_waitables[i]->kernel_->lock_.Release();
311 waitables[0].first->kernel_->lock_.Acquire();
312 if (waitables[0].first->kernel_->signaled_) {
313 if (!waitables[0].first->kernel_->manual_reset_)
314 waitables[0].first->kernel_->signaled_ = false;
315 waitables[0].first->kernel_->lock_.Release();
321 waitables[0].first->kernel_->lock_.Release();
351 i = kernel_->waiters_.begin(); i != kernel_->waiters_.end(); ++i) {
356 kernel_->waiters_.clear();
366 if (kernel_->waiters_.empty())
369 const bool r = (*kernel_->waiters_.begin())->Fire(this);
370 kernel_->waiters_.pop_front();
380 kernel_->waiters_.push_back(waiter);