aboutsummaryrefslogtreecommitdiff
path: root/core/thread/thread.odin
diff options
context:
space:
mode:
Diffstat (limited to 'core/thread/thread.odin')
-rw-r--r--core/thread/thread.odin15
1 files changed, 15 insertions, 0 deletions
diff --git a/core/thread/thread.odin b/core/thread/thread.odin
new file mode 100644
index 000000000..c326b30f1
--- /dev/null
+++ b/core/thread/thread.odin
@@ -0,0 +1,15 @@
+package thread;
+
+import "core:runtime";
+
+Thread_Proc :: #type proc(^Thread);
+
+Thread :: struct {
+ using specific: Thread_Os_Specific,
+ procedure: Thread_Proc,
+ data: rawptr,
+ user_index: int,
+
+ init_context: runtime.Context,
+ use_init_context: bool,
+} \ No newline at end of file