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

Method Semaphore

Kernel/include/lock.h:56–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54 lock_t blockedLock = 0;
55public:
56 Semaphore(int val){
57 value = val;
58 }
59
60 void SetValue(int val){
61 value = val;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected