(&self)
| 183 | |
| 184 | impl AsThread for TaskInner { |
| 185 | fn try_as_thread(&self) -> Option<&Thread> { |
| 186 | self.task_ext() |
| 187 | .map(|ext| unsafe { ext.downcast_ref::<Box<Thread>>() }.as_ref()) |
| 188 | } |
| 189 | } |
| 190 | |
| 191 | /// [`Process`]-shared data. |
no outgoing calls
no test coverage detected