Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chyyuu/os_kernel_lab
/ mutex_unlock
Function
mutex_unlock
user/src/sync.rs:12–14 ·
view source on GitHub ↗
(mutex_id: usize)
Source
from the content-addressed store, hash-verified
10
sys_mutex_lock(mutex_id);
11
}
12
pub fn mutex_unlock(mutex_id: usize) {
13
sys_mutex_unlock(mutex_id);
14
}
15
pub fn semaphore_create(res_count: usize) -> isize {
16
sys_semaphore_create(res_count)
17
}
Callers
6
f
Function · 0.85
philosopher_dining_problem
Function · 0.85
first
Function · 0.85
second
Function · 0.85
block
Method · 0.85
f
Function · 0.85
Calls
1
sys_mutex_unlock
Function · 0.70
Tested by
2
first
Function · 0.68
second
Function · 0.68