aboutsummaryrefslogtreecommitdiff
path: root/core/thread/thread.odin
blob: 00ee2f4b3e75d4c883a3891cf402d95a1c9dd4ce (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,
}