MCPcopy Create free account
hub / github.com/apache/impala / SetEnqueued

Method SetEnqueued

be/src/runtime/tmp-file-mgr-internal.h:279–283  ·  view source on GitHub ↗

Set the file is enqueued or not. The function is thread-safe.

Source from the content-addressed store, hash-verified

277 /// Set the file is enqueued or not.
278 /// The function is thread-safe.
279 void SetEnqueued(bool is_enqueued) {
280 std::lock_guard<SpinLock> l(lock_);
281 DCHECK(is_enqueued != enqueued_);
282 enqueued_ = is_enqueued;
283 }
284
285 /// Set the buffer of the file is returned to the pool.
286 /// The function is thread-safe.

Callers 2

EnqueueTmpFilesPoolMethod · 0.80
DequeueTmpFilesPoolMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected