Page 1 of 1

Mutithread proformence

Posted: Fri May 20, 2022 5:45 am
by leon_titan
I have two thread, which both CPU-intensive. I wonder which way is more proformence:

One is by Cooperative Round Robin, another is by chThdSleepMicroseconds(1) each loop;

Re: Mutithread proformence

Posted: Fri May 20, 2022 5:55 am
by Giovanni
In that case is cooperative RR.

Giovanni

Re: Mutithread proformence

Posted: Fri May 20, 2022 7:20 am
by leon_titan
Got it