Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/acl-dev/acl
/ lock
Method
lock
lib_acl_cpp/src/queue/queue_file.cpp:388–397 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
386
}
387
388
bool queue_file::lock(void)
389
{
390
if (!m_bLockerOpened) {
391
return false;
392
}
393
if (!m_locker.try_lock()) {
394
return false;
395
}
396
return true;
397
}
398
399
bool queue_file::unlock(void)
400
{
Callers
4
cache_find
Method · 0.45
cache_check
Method · 0.45
cache_add
Method · 0.45
cache_del
Method · 0.45
Calls
1
try_lock
Method · 0.45
Tested by
no test coverage detected