mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-28 18:30:06 +00:00
Add thread.run* shorthand procedures; Thread.init_context use new Maybe concept
This commit is contained in:
@@ -1120,7 +1120,6 @@ threading_example :: proc() {
|
||||
for in prefix_table {
|
||||
if t := thread.create(worker_proc); t != nil {
|
||||
t.init_context = context;
|
||||
t.use_init_context = true;
|
||||
t.user_index = len(threads);
|
||||
append(&threads, t);
|
||||
thread.start(t);
|
||||
|
||||
Reference in New Issue
Block a user