Code: Select all
chThdSleepSeconds(0.0);
chThdSleepUntil(chTimeNow() + S2ST(0));Should be near identical however chThdSleepSeconds doesn't accept 0 or decimal while chThdSleepUntil doesn't seem to have a problem with it. Is there a technical reason for why one would work but the other wouldn't?