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

Method ReleasePartitionLock

cpp/src/arrow/acero/partition_util.cc:82–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82void PartitionLocks::ReleasePartitionLock(int prtn_id) {
83 ARROW_DCHECK(prtn_id >= 0 && prtn_id < num_prtns_);
84 std::atomic<bool>* lock = lock_ptr(prtn_id);
85 lock->store(false, std::memory_order_release);
86}
87
88} // namespace acero
89} // namespace arrow

Callers 2

PushNextBatchImpMethod · 0.80
~AutoReleaseLockMethod · 0.80

Calls 1

storeMethod · 0.80

Tested by

no test coverage detected