Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LemonOSProject/LemonOS
/ AcquireWrite
Method
AcquireWrite
Kernel/include/lock.h:34–36 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
32
}
33
34
void AcquireWrite(){
35
acquireLock(&fileLock);
36
}
37
38
void ReleaseRead(){
39
if(activeReaders == 1){
Callers
6
Write
Method · 0.80
Create
Method · 0.80
CreateDirectory
Method · 0.80
Link
Method · 0.80
Unlink
Method · 0.80
Truncate
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected