Realtime shield (#2194)

* cpu 3 shield

* set priority before affinity

* add to release files

* only run on android
This commit is contained in:
Adeeb Shihadeh
2020-09-17 15:49:14 -07:00
committed by GitHub
parent 92922ce2ae
commit b341fdc644
5 changed files with 21 additions and 1 deletions
+1 -1
View File
@@ -33,8 +33,8 @@ def set_core_affinity(core):
def config_rt_process(core, priority):
gc.disable()
set_core_affinity(core)
set_realtime_priority(priority)
set_core_affinity(core)
class Ratekeeper():