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

前端 未结 7 1485
醉梦人生
醉梦人生 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:12

    Each exe launched will occur in its own process. You don't need to use a threadpool or multiple threads; the OS manages the processes (and since they're processes and not threads, they're very independent; completely separate memory space, etc.).

提交回复
热议问题