Interlace icon indicating copy to clipboard operation
Interlace copied to clipboard

Multithreading doesn't work on Windows

Open mkey-hu opened this issue 1 year ago • 1 comments

On Widows OS tasks are executed in a serialized way

interlace -t a,b,c -c "timeout /t 10 & echo _target_"
=====================================================
Interlace v1.9.6        by Michael Skelton (@codingo_)
                        & Sajeeb Lohani (@sml555_)
=====================================================
  0%|                                                                                            | 0/3 [00:00<?, ?it/s][13:34:29] [THREAD] [timeout /t 10 & echo a] Added to Queue

Waiting for 10 seconds, press a key to continue . 0
a

 33%|████████████████████████████                                                        | 1/3 [00:09<00:19,  9.71s/it][13:34:39] [THREAD] [timeout /t 10 & echo c] Added to Queue

Waiting for 10 seconds, press a key to continue . 0
c

 67%|████████████████████████████████████████████████████████                            | 2/3 [00:19<00:04,  4.85s/it][13:34:49] [THREAD] [timeout /t 10 & echo b] Added to Queue

Waiting for 10 seconds, press a key to continue . 0
b

100%|████████████████████████████████████████████████████████████████████████████████████| 3/3 [00:29<00:00,  9.92s/it]

mkey-hu avatar Oct 06 '22 11:10 mkey-hu