MCPcopy Create free account
hub / github.com/Niko1221/Strata / locked

Method locked

engine/src/kernels/ngram.cpp:602–602  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

600
601bool PleTable::is_open() const { return impl_->data != nullptr || impl_->reader.is_open(); }
602bool PleTable::locked() const { return impl_->locked; }
603bool PleTable::unlock() {
604 std::lock_guard<std::recursive_mutex> lk(impl_->mu);
605 if (!impl_->locked || impl_->data == nullptr) return false;

Callers 3

mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by 1

mainFunction · 0.36