Add thread.run* shorthand procedures; Thread.init_context use new Maybe concept

This commit is contained in:
gingerBill committed 2020-06-22 13:28:37 +01:00
1 parent fb3aeccd36
commit b3c51a8b44
4 files changed
+60 -22

No files matched your search

-1
View File
@@ -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);