Adding new features to the 'Module' and refactoring the code

This commit is contained in:
João Victor
2024-09-07 23:33:18 -03:00
parent 3f78e6dced
commit 7330488d31
60 changed files with 2606 additions and 1651 deletions

View File

@@ -42,6 +42,7 @@ impl Thread {
/// # Returns
/// - `Option<Self>`: Returns `Some(Self)` if the process lookup is successful, otherwise `None`.
///
#[inline]
pub fn new(tid: usize) -> Option<Self> {
let mut thread = core::ptr::null_mut();