Run Loops parallel

Rocketman_2003

New member
I want to make a program that executes two tasks at the same time but at a different rate. I would like to do this with a separate loop for each task.
Is it possible to start two loops and run them in parallel?
 

420

Active member
I want to make a program that executes two tasks at the same time but at a different rate. I would like to do this with a separate loop for each task.
Is it possible to start two loops and run them in parallel?
I don't think so, it won't move on to the next loop untill the previous one is finished.. Maybe if you put them in seperate macro's and use the run macro action..
 

tanutanu

Well-known member
I want to make a program that executes two tasks at the same time but at a different rate. I would like to do this with a separate loop for each task.
Is it possible to start two loops and run them in parallel?
It is impossible to do just same as real mutithreading. However, 2 or more macros which contain at least 10ms wait, they are working as parallel-ish. When a macro reach a wait action or another macro trigger is fired, it start working and switch to another if its wait will be coming. It is not parallels accurately, but very similar.
 
Top