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

Method SetStatusLocked

be/src/runtime/io/disk-file.h:111–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109 }
110
111 void SetStatusLocked(const std::unique_lock<SpinLock>& lock, MemBlockStatus status) {
112 DCHECK(lock.mutex() == &mem_block_lock_ && lock.owns_lock());
113 SetInternalStatus(status);
114 }
115
116 /// Return the lock of the memory block.
117 SpinLock* GetLock() { return &mem_block_lock_; }

Callers 1

Calls 2

owns_lockMethod · 0.80
mutexMethod · 0.45

Tested by

no test coverage detected