Searched refs:next_cancellation_token_ (Results 1 – 2 of 2) sorted by relevance
72 return next_cancellation_token_.fetch_add(1); in get_cancellation_token()164 std::atomic<CancellationToken> next_cancellation_token_; variable
31 next_cancellation_token_(0) {} in CancellationManager()34 : is_cancelling_(false), next_cancellation_token_(0), parent_(parent) { in CancellationManager()86 DCHECK_LT(token, next_cancellation_token_) << "Invalid cancellation token"; in RegisterCallback()