Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chyyuu/os_kernel_lab
/ semaphore_down
Function
semaphore_down
user/src/sync.rs:21–23 ·
view source on GitHub ↗
(sem_id: usize)
Source
from the content-addressed store, hash-verified
19
sys_semaphore_up(sem_id);
20
}
21
pub fn semaphore_down(sem_id: usize) {
22
sys_semaphore_down(sem_id);
23
}
24
pub fn condvar_create() -> isize {
25
sys_condvar_create(0)
26
}
Callers
3
producer
Function · 0.85
consumer
Function · 0.85
second
Function · 0.85
Calls
1
sys_semaphore_down
Function · 0.70
Tested by
no test coverage detected