MCPcopy Create free account
hub / github.com/LemonOSProject/LemonOS / ReleaseRead

Method ReleaseRead

Kernel/include/lock.h:38–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36 }
37
38 void ReleaseRead(){
39 if(activeReaders == 1){
40 releaseLock(&fileLock);
41 }
42
43 activeReaders--;
44 }
45
46 void ReleaseWrite(){
47 releaseLock(&fileLock);

Callers 4

ReadDirMethod · 0.80
FindDirMethod · 0.80
ReadMethod · 0.80
ReadLinkMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected