Skip to content
Commit 34efba28 authored by Alexander Paschoaletto's avatar Alexander Paschoaletto Committed by Chris Friedt
Browse files

sample: msgq: adding a sample code for message queue base usage



this commit adds a sample code to illustrate the base usage
of message queues. a producer and a consumer thread work
together, exchanging messages in a FIFO (for normal payloads)
and LIFO (for higher priority payloads) schemes.

Signed-off-by: default avatarAlexander Paschoaletto <axelpinheiro@gmail.com>
parent 16986849
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment