MCPcopy Create free account
hub / github.com/apache/impala / ~ThreadPoolToken

Method ~ThreadPoolToken

be/src/kudu/util/threadpool.cc:191–194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189}
190
191ThreadPoolToken::~ThreadPoolToken() {
192 Shutdown();
193 pool_->ReleaseToken(this);
194}
195
196Status ThreadPoolToken::Submit(std::function<void()> f) {
197 return pool_->DoSubmit(std::move(f), this);

Callers

nothing calls this directly

Calls 1

ReleaseTokenMethod · 0.80

Tested by

no test coverage detected