diff options
Diffstat (limited to 'shared_counter.kpl')
| -rw-r--r-- | shared_counter.kpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shared_counter.kpl b/shared_counter.kpl index f9ae293..0fdf804 100644 --- a/shared_counter.kpl +++ b/shared_counter.kpl @@ -27,7 +27,7 @@ runner : ([fn] total : actions @ total { `log "#WHITE#Batch: #CYAN#% #MAGENTA#%#\n" `format (fn; total) - v : Vector[`async_type fn] $ () + v : Array[`async_type fn] $ () @ 1 .. batch { v `push `async fn } @ v {[x] `await x } total -: batch @@ -37,7 +37,7 @@ runner : ([fn] i : runner `async inc d : runner `async dec -`log `format "#YELLOW#SLEEPING...#\n" +`log "#BOLD#YELLOW#SLEEPING THREAD %#\n" `format `thread_id `use "time" [Seconds] `use "sys" [sleep] |
