How to run multiple algos simultaneously?
I want to separate each algo use multi-threading.
For example,
while(asset(loop(Assets)))
{
algo("1");
algo("2");
algo("3");
}
to
while(asset(loop(Assets)))
{
for(int i = 0; i < 3; i++)
{
run_algo_thread(i);
}
wait_all_algo_thread_done();
}