From 474030404399382f04dea03a316b3ac837245373 Mon Sep 17 00:00:00 2001 From: Adir Shitrit Date: Sat, 8 Nov 2025 11:10:12 +0200 Subject: [PATCH] add creation_time field to ThreadInfo struct --- ghost-core/src/thread.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ghost-core/src/thread.rs b/ghost-core/src/thread.rs index 4ba91b7..013a196 100644 --- a/ghost-core/src/thread.rs +++ b/ghost-core/src/thread.rs @@ -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 }); }