QuantumLeaps / qpc

QP/C Real-Time Embedded Framework/RTOS based on asynchronous, event-driven Active Objects (Actors) and Hierarchical State Machines
https://www.state-machine.com/products/qp
980 stars 250 forks source link

Your opinion on RTIC #16

Closed mryndzionek closed 2 years ago

mryndzionek commented 2 years ago

I would like to ask about your opinion on RTIC. To it seems that it's based on the same core ideas, but without explicit (hierarchical) state machines. Almost everything is done from ISRs. It also has message passing and a timer queue.

The interesting part is managing resources and specifically managing shared resources. Instead of using mutexes/locks directly, the programmer just specifies which variables/resources are shared by which 'task' and RTIC computes optimal locking strategy and enforces the 'locking sections'.

Do you think adding such a mechanism to QK (QXK) would be a good idea?

quantum-leaps commented 2 years ago

The links to RTIC don't work, so it is impossible to provide comments. This "issue" is closed.

mryndzionek commented 2 years ago

I've fixed the links.