Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/YatSenOS/YatSenOS-Tutorial-Volume-1
/ Semaphore
Method
Semaphore
lab8/src/4/src/kernel/sync.cpp:33–36 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
31
}
32
33
Semaphore::Semaphore()
34
{
35
initialize(0);
36
}
37
38
void Semaphore::initialize(uint32 counter)
39
{
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected