aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorJeroen van Rijn <Kelimion@users.noreply.github.com>2025-06-12 17:09:33 +0200
committerJeroen van Rijn <Kelimion@users.noreply.github.com>2025-06-12 17:09:33 +0200
commit74f70bfbcb99dc60ef9cd3cebd5bd43b66e101f0 (patch)
treefd1b801234ac9fcc3d6132dfd35e85a2937f7448 /core
parent298bab99a45f6a81a730c3b9c9d1348da5cab9d8 (diff)
Comment
Diffstat (limited to 'core')
-rw-r--r--core/thread/thread.odin3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/thread/thread.odin b/core/thread/thread.odin
index c7fd082ac..f70471d8a 100644
--- a/core/thread/thread.odin
+++ b/core/thread/thread.odin
@@ -39,7 +39,8 @@ Type representing a thread handle and the associated with that thread data.
Thread :: struct {
using specific: Thread_Os_Specific,
flags: bit_set[Thread_State; u8],
- // Thread ID.
+ // Thread ID. Depending on the platform, may start out as 0 (zero) until the thread
+ // has had a chance to run.
id: int,
// The thread procedure.
procedure: Thread_Proc,