Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chyyuu/os_kernel_lab
/ unlock
Method
unlock
os/src/sync/mutex.rs:39–42 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
37
}
38
39
fn unlock(&self) {
40
let mut locked = self.locked.exclusive_access();
41
*locked = false;
42
}
43
}
44
45
pub struct MutexBlocking {
Callers
2
sys_mutex_unlock
Function · 0.80
wait_with_mutex
Method · 0.80
Calls
2
wakeup_task
Function · 0.85
exclusive_access
Method · 0.80
Tested by
no test coverage detected