aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
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,