Menu

#76 Add work queue functionality

closed
Richard
work queue (1)
4
2016-01-27
2013-10-30
BeginEnd
No

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.

Discussion

  • BeginEnd

    BeginEnd - 2013-11-29

    Any answer?

     
  • Richard Barry

    Richard Barry - 2013-11-29

    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.

     
  • Richard Barry

    Richard Barry - 2016-01-27
    • status: open --> closed
     
  • Richard Barry

    Richard Barry - 2016-01-27

    Pending function calls from tasks and interrupts was released some time back.

     

Log in to post a comment.