MCPcopy Create free account
hub / github.com/chyyuu/os_kernel_lab / alloc_tid

Method alloc_tid

os/src/task/id.rs:182–189  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

180
181 #[allow(unused)]
182 pub fn alloc_tid(&mut self) {
183 self.tid = self
184 .process
185 .upgrade()
186 .unwrap()
187 .inner_exclusive_access()
188 .alloc_tid();
189 }
190
191 pub fn dealloc_tid(&self) {
192 let process = self.process.upgrade().unwrap();

Callers 1

newMethod · 0.45

Calls 1

Tested by

no test coverage detected