From 9efaae495b1f5495c5356bed73e176877b03b7ff Mon Sep 17 00:00:00 2001 From: Dion Dokter Date: Fri, 3 Jun 2022 14:27:33 +0200 Subject: [PATCH] Channel clarification This was unclear from the docs. --- embassy/src/channel/channel.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/embassy/src/channel/channel.rs b/embassy/src/channel/channel.rs index a1d805c5..d74f6365 100644 --- a/embassy/src/channel/channel.rs +++ b/embassy/src/channel/channel.rs @@ -3,6 +3,9 @@ //! It can be used concurrently by multiple producers (senders) and multiple //! consumers (receivers), i.e. it is an "MPMC channel". //! +//! Receivers are competing for messages. So a message that is received by +//! one receiver is not received by any other. +//! //! This queue takes a Mutex type so that various //! targets can be attained. For example, a ThreadModeMutex can be used //! for single-core Cortex-M targets where messages are only passed