Add thread.run* shorthand procedures; Thread.init_context use new Maybe concept
This commit is contained in:
1 parent
fb3aeccd36
commit
b3c51a8b44
4 files changed
+60
-22
No files matched your search
@@ -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