Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FreeCAD/FreeCAD
/ tryLock
Method
tryLock
src/Base/FileLock.cpp:42–46 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
40
FileLock::~FileLock() = default;
41
42
bool FileLock::tryLock(int /*timeoutMs*/)
43
{
44
_locked = true;
45
return true;
46
}
47
48
bool FileLock::lock()
49
{
Callers
4
LoadDocument
Method · 0.80
SaveDocument
Method · 0.80
TEST
Function · 0.80
TEST_F
Function · 0.80
Calls
7
max
Function · 0.85
min
Function · 0.85
tryLockFd
Function · 0.85
close
Function · 0.85
now
Function · 0.50
open
Function · 0.50
c_str
Method · 0.45
Tested by
no test coverage detected