Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/InteractiveComputerGraphics/CompactNSearch
/ lock
Method
lock
include/DataStructures.h:101–104 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
99
public:
100
101
void lock()
102
{
103
while (m_lock.test_and_set(std::memory_order_acquire));
104
}
105
106
void unlock()
107
{
Callers
1
query
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected