Multiplatform multiprocessing?

后端 未结 3 520
被撕碎了的回忆
被撕碎了的回忆 2021-01-20 15:55

I was wondering why in the new C++11 they added threads and not processes.

Couldn\'t have they done a wrapper around platform specific functions?

Any suggest

3条回答
  •  盖世英雄少女心
    2021-01-20 16:21

    I am using Boost Interprocess.

    It does not provide the possibility to create new processes, but once they are there, it allows them to communicate.

    In this particular case I can create the processes I need from a shell script.

提交回复
热议问题