Add work queue functionality
Market leading real time kernel for 40+ microcontroller architectures
Brought to you by:
gaurav-aws,
rtel
I think that having functionality similar to work queue from linux kernel would very nice. Today for example if I want to turn on led for some period of time I need to create timer (N timers for N diodes) or do some other worse things (like checking in loop/tick handle).
If would be possible creating special kind of threads with selectable priority that only executes posted jobs at specified time without creating timers this would spare a lot of memory and coding time.
Any answer?
I don't know much about work queues or tasklets, not being from the Linux world, but as far as I do know I think they are used to defer processing from an interrupt into the kernel. I'm not sure how they would be used for turning on an LED for a period of time.
In SVN already (and to be released in FreeRTOS V8) is a centralized deferred interrupt processing mechanism.
Pending function calls from tasks and interrupts was released some time back.