Threading on RT_PREEMPT kernels

hello there,

Am working on some applications and having a heck of a time with threading apps on the preempt kernels. There are certain processing loops where when it happens even the pi3 network connections get terminated or suspended.

  1. Is there a way to revert to PREEMPT OFF in the emlid stretch installs ?

  2. Do you have any good examples (app side c++ or python) on how to work with multi cores of the pi3 when preempt is on ?

i understand the “do one task and do one task well” paradigm preempt kernels subscribe to but i also need backend processes to keep doing their thing (atleast networking).

-S

This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.