Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/common_runtime/
Dbase_collective_executor.cc271 const auto is_callback_called = std::make_shared<std::atomic<bool>>(false); in ExecuteAsync() local
272 auto done_safe = [this, done, ctx, is_callback_called](const Status& s) { in ExecuteAsync()
273 bool called = is_callback_called->exchange(true); in ExecuteAsync()
288 timeout_microseconds, [this, is_callback_called, done] { in ExecuteAsync()
289 bool called = is_callback_called->exchange(true); in ExecuteAsync()
356 const auto is_callback_called = std::make_shared<std::atomic<bool>>(false); in CompleteParamsAsync() local
359 auto done_safe = [this, is_callback_called, cancel_mgr, trace_id, in CompleteParamsAsync()
362 bool called = is_callback_called->exchange(true); in CompleteParamsAsync()
377 timeout_microseconds, [this, is_callback_called, done]() { in CompleteParamsAsync()
378 bool called = is_callback_called->exchange(true); in CompleteParamsAsync()