Home
last modified time | relevance | path

Searched refs:cond_var_ (Results 1 – 13 of 13) sorted by relevance

/external/tensorflow/tensorflow/core/platform/
Dblocking_counter.h45 cond_var_.notify_all(); in DecrementCount()
53 cond_var_.wait(l); in Wait()
63 const std::cv_status status = cond_var_.wait_for(l, ms); in WaitFor()
73 condition_variable cond_var_; variable
Dunbounded_work_queue_test.cc40 cond_var_.notify_all(); in RunMultipleCopiesOfClosure()
48 cond_var_.wait(l); in BlockUntilClosuresDone()
62 condition_variable cond_var_; member in tensorflow::__anonfad0c5250111::UnboundedWorkQueueTest
/external/tensorflow/tensorflow/core/util/
Dexec_on_stall.h63 cond_var_.notify_all(); in disabled_()
73 cond_var_.wait(l); in ~ExecuteOnStall()
79 condition_variable cond_var_; variable
/external/tensorflow/tensorflow/core/kernels/data/
Dparallel_batch_dataset_op.cc172 cond_var_(std::make_shared<condition_variable>()), in Iterator()
174 params.dataset->num_parallel_calls_, mu_, cond_var_)) {} in Iterator()
203 cond_var_->wait(l); in GetNextInternal()
212 cond_var_->notify_all(); in GetNextInternal()
246 cond_var_->wait(l); in SaveInternal()
311 cond_var_->notify_all(); in CallCompleted()
381 cond_var_->notify_all(); in CancelThreads()
384 cond_var_->wait(l); in CancelThreads()
418 cond_var_->wait(l); in RunnerThread()
495 const std::shared_ptr<condition_variable> cond_var_; member in tensorflow::data::ParallelBatchDatasetOp::Dataset::Iterator
Dprefetch_dataset_op.cc137 cond_var_(std::make_shared<condition_variable>()), in Iterator()
146 cond_var_)) { in Iterator()
181 cond_var_->wait(l); in GetNextInternal()
188 cond_var_->wait(l); in GetNextInternal()
362 cond_var_->notify_all(); in CancelThreads()
426 cond_var_->notify_all(); in Consume()
455 cond_var_->wait(l); in PrefetchThread()
461 cond_var_->notify_all(); in PrefetchThread()
495 cond_var_->notify_all(); in PrefetchThread()
505 cond_var_->notify_all(); in PrefetchThread()
[all …]
Dparallel_map_dataset_op.cc206 cond_var_(std::make_shared<condition_variable>()), in Iterator()
208 params.dataset->num_parallel_calls_, mu_, cond_var_)), in Iterator()
248 cond_var_->wait(l); in GetNextInternal()
282 cond_var_->wait(l); in SaveInternal()
387 cond_var_->notify_all(); in CancelThreads()
390 cond_var_->wait(l); in CancelThreads()
415 cond_var_->notify_all(); in CallCompleted()
522 cond_var_->wait(l); in RunnerThread()
533 cond_var_->notify_all(); in RunnerThread()
561 cond_var_->notify_all(); in ShouldWait()
[all …]
/external/tensorflow/tensorflow/core/platform/cloud/
Dgcs_dns_cache.h47 cond_var_.notify_one(); in ~GcsDnsCache()
64 condition_variable cond_var_; variable
Dgcs_dns_cache.cc161 cond_var_.wait_for(l, std::chrono::seconds(refresh_rate_secs_)); in WorkerThread()
/external/tensorflow/tensorflow/core/kernels/data/experimental/
Dmap_and_batch_dataset_op.cc192 cond_var_(std::make_shared<condition_variable>()), in Iterator()
194 params.dataset->num_parallel_calls_, mu_, cond_var_)) { in Iterator()
241 cond_var_->wait(l); in GetNextInternal()
250 cond_var_->notify_all(); in GetNextInternal()
285 cond_var_->wait(l); in SaveInternal()
390 cond_var_->notify_all(); in CallCompleted()
480 cond_var_->notify_all(); in CancelThreads()
483 cond_var_->wait(l); in CancelThreads()
556 cond_var_->wait(l); in RunnerThread()
655 const std::shared_ptr<condition_variable> cond_var_; member in tensorflow::data::experimental::MapAndBatchDatasetOp::Dataset::Iterator
Dparse_example_dataset_op.cc367 cond_var_(std::make_shared<condition_variable>()), in Iterator()
369 params.dataset->num_parallel_calls_, mu_, cond_var_)), in Iterator()
401 cond_var_->wait(l); in GetNextInternal()
433 cond_var_->wait(l); in SaveInternal()
543 cond_var_->notify_all(); in CancelThreads()
546 cond_var_->wait(l); in CancelThreads()
572 cond_var_->notify_all(); in CallCompleted()
760 cond_var_->wait(l); in RunnerThread()
772 cond_var_->notify_all(); in RunnerThread()
800 cond_var_->notify_all(); in ShouldWait()
[all …]
Dsnapshot_dataset_op.cc1353 cond_var_.notify_all(); in ~SnapshotReaderIterator()
1355 cond_var_.wait(l); in ~SnapshotReaderIterator()
1411 cond_var_.wait(l); in GetNextInternal()
1468 cond_var_.notify_all(); in GetNextInternal()
1596 cond_var_.wait(l); in ReadFile()
1617 cond_var_.notify_all(); in ReadFile()
1643 cond_var_.notify_all(); in ReadingFilesLoop()
1666 cond_var_.notify_all(); in ReadingFilesLoop()
1676 cond_var_.notify_all(); in ReadingFilesLoop()
1726 condition_variable cond_var_; member in tensorflow::data::experimental::__anon94f7b5240311::SnapshotDatasetOp::Dataset::Iterator::SnapshotReaderIterator
[all …]
/external/tensorflow/tensorflow/core/framework/
Ddataset.cc705 cond_var_.notify_one(); in ~BackgroundWorker()
723 cond_var_.notify_one(); in Schedule()
733 cond_var_.wait(l); in WorkerLoop()
Ddataset.h1229 condition_variable cond_var_; variable