aboutsummaryrefslogtreecommitdiff
path: root/core/thread/thread.odin
blob: c326b30f127e28cc809e003c90d851c1190f7658 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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,
}