mirror of
https://github.com/joaoviictorti/shadow-rs.git
synced 2026-01-26 10:44:32 +01:00
Adding new features to the 'Module' and refactoring the code
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user