Page 1 of 1

onTick( ) maxruntime?

Posted: Sun Oct 01, 2017 4:12 pm
by eacmen
What is the max recommended runtime for onTick? Does this run in a separate RTOS task or is it part of the RCP main loop?

What I am really asking is if onTick takes a long time does it lock up the rest of the RCP from doing anything else?


Posted: Wed Oct 04, 2017 5:38 pm
by brentp
Sorry for the delay.

There's no impact on the system with a long running or forever running onTick() - subsequent onTicks() just don't occur until the current onTick() is complete.

Hope this helps,

Posted: Wed Oct 04, 2017 6:12 pm
by eacmen
Yes that helps alot! Thank you.