Multi threading which would be the best to use? (Threadpool or threads)

前端 未结 7 1484
醉梦人生
醉梦人生 2021-01-07 02:52

Hopefully this is a better question than my previous. I have a .exe which I will be passing different parameters (file paths) to which it will then take in and parse. So I w

7条回答
  •  攒了一身酷
    2021-01-07 03:16

    If you're launching a .exe, then you have no choice. You will be running this asynchronously in a separate process. For the program which does the launching, I would recommend that you use a single thread and keep a list of the processes you launched.

提交回复
热议问题