Planning to try out a flavor of Ryan's multi-threaded laned procs with the some extra threads hooked up separately to a job system. Will most likely do 2 threads main/helper on live lanes, then 2 others on job queue loops
9 lines
158 B
Odin
9 lines
158 B
Odin
package grime
|
|
|
|
// Context :: struct {
|
|
// }
|
|
|
|
// context_usr :: #force_inline proc( $ Type : typeid ) -> (^Type) {
|
|
// return cast(^Type) context.user_ptr
|
|
// }
|