Skip to content

Multithreading doesn't work on Windows #174

Open
@mkey-hu

Description

@mkey-hu

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]

Metadata

Metadata

Assignees

No one assigned

    Labels

    wontfixThis will not be worked on

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions