MCPcopy Create free account
hub / github.com/apache/arrow / Pause

Method Pause

cpp/src/arrow/util/async_util.cc:67–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65 }
66
67 void Pause() override {
68 std::lock_guard lg(mutex_);
69 paused_ = true;
70 if (!backoff_.is_valid()) {
71 backoff_ = Future<>::Make();
72 }
73 }
74
75 void Resume() override {
76 std::unique_lock lk(mutex_);

Callers 2

PauseMethod · 0.45
PauseMethod · 0.45

Calls 2

MakeFunction · 0.70
is_validMethod · 0.45

Tested by

no test coverage detected