MCPcopy 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
45pub struct MutexBlocking {

Callers 2

sys_mutex_unlockFunction · 0.80
wait_with_mutexMethod · 0.80

Calls 2

wakeup_taskFunction · 0.85
exclusive_accessMethod · 0.80

Tested by

no test coverage detected