I'm trying to run a multitude of functions simultaneously in real-time, what's the best way to do so? Thanks
5/2/2019 9:50:18 PM
Simtoon Software2 Answers
New AnswerSimtoon Software I would say it depends on what you are trying to do. Multithreading is one. Multiprocessing is another way, but both comes with lots of overhead.
Simtoon Software Try C++ thread std::async. You look at example here https://code.sololearn.com/cK144z8j7GVm/?ref=app
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message