What is the difference between Workqueue Threads and Message Queues #30234
-
Hi, thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
There are multiple ways of passing data between two threads in Zephyr. The documentation has a nice overview of the various data passing kernel services along with their high level features: https://docs.zephyrproject.org/latest/reference/kernel/index.html#data-passing Workqueue threads (https://docs.zephyrproject.org/latest/reference/kernel/threads/workqueue.html) and Message Queues (https://docs.zephyrproject.org/latest/reference/kernel/data_passing/message_queues.html) are two complete different things, although their names may sound similar. |
Beta Was this translation helpful? Give feedback.
There are multiple ways of passing data between two threads in Zephyr. The documentation has a nice overview of the various data passing kernel services along with their high level features: https://docs.zephyrproject.org/latest/reference/kernel/index.html#data-passing
Workqueue threads (https://docs.zephyrproject.org/latest/reference/kernel/threads/workqueue.html) and Message Queues (https://docs.zephyrproject.org/latest/reference/kernel/data_passing/message_queues.html) are two complete different things, although their names may sound similar.