add creation_time field to ThreadInfo struct

This commit is contained in:
Adir Shitrit
2025-11-08 11:10:12 +02:00
parent 2239bd18a6
commit 4740304043

View File

@@ -5,6 +5,7 @@ pub struct ThreadInfo {
pub tid: u32,
pub owner_pid: u32,
pub start_address: usize,
pub creation_time: u64,
}
impl fmt::Display for ThreadInfo {
@@ -45,6 +46,7 @@ mod platform {
tid: entry.th32ThreadID,
owner_pid: entry.th32OwnerProcessID,
start_address: 0, // TODO: Get actual start address
creation_time: 0, // TODO: Get thread creation time
});
}