Skip to content

Notification Usage #100

May 10, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hi @mightylastingcode
Yes correct.
And to your point about notifications. According the the FreeRtos documentation, notifications are faster then regular semaphores although to be totally honest with you in 99% of my code I use

  • Queues for relaying data
  • events for notification
  • binary semaphores for simple notifications
  • Mutex to guard resources. (these I tend to use a bit)
    binary semaphores tend to turn into event notifications as the code gets more complex. For example. I want a notification when I connect to the wireless. This turns into I want an indication when I connect or get an error which turn into I want an indication when I connect, get an error or a time out.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mightylastingcode
Comment options

Answer selected by mightylastingcode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants