Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/framework/
Dcancellation.cc29 : is_cancelling_(false), in CancellationManager()
34 : is_cancelling_(false), next_cancellation_token_(0), parent_(parent) { in CancellationManager()
44 if (is_cancelled_.load(std::memory_order_relaxed) || is_cancelling_) { in StartCancel()
47 is_cancelling_ = true; in StartCancel()
76 is_cancelling_ = false; in StartCancel()
88 bool should_register = !is_cancelled_ && !is_cancelling_; in RegisterCallback()
103 } else if (is_cancelling_) { in DeregisterCallback()
126 if (is_cancelled_.load(std::memory_order_relaxed) || is_cancelling_) { in RegisterChild()
170 if (is_cancelling_) { in DeregisterChild()
185 if (is_cancelled_ || is_cancelling_) { in TryDeregisterCallback()
[all …]
Dcancellation.h162 bool is_cancelling_; variable