Linaro / step

Secure data pipeline proof of concept module for Zephyr RTOS
Apache License 2.0
11 stars 4 forks source link

proc_mgr: introducing event driven thread option #9

Closed uLipe closed 2 years ago

uLipe commented 2 years ago

for step process manager, which is triggered by FIFO samples incoming. This allows to keep the node execution automatic without polling manually the process manager.

To enable just hit the option CONFIG_STEP_PROC_MGR_EVENT_DRIVEN in the menuconfig.

One limitation, periodic polling cannot be used if event driven process manager is enabled, and it is automatically disabled if the event thread mechanism is used.

I also kept the compatibillity of the manually polling to avoid unit tests breaking.

uLipe commented 2 years ago

@microbuilder PTAL

uLipe commented 2 years ago

@microbuilder PTAL again.