diff options
| -rw-r--r-- | embassy/src/channel/channel.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/embassy/src/channel/channel.rs b/embassy/src/channel/channel.rs index a1d805c53..d74f6365d 100644 --- a/embassy/src/channel/channel.rs +++ b/embassy/src/channel/channel.rs | |||
| @@ -3,6 +3,9 @@ | |||
| 3 | //! It can be used concurrently by multiple producers (senders) and multiple | 3 | //! It can be used concurrently by multiple producers (senders) and multiple |
| 4 | //! consumers (receivers), i.e. it is an "MPMC channel". | 4 | //! consumers (receivers), i.e. it is an "MPMC channel". |
| 5 | //! | 5 | //! |
| 6 | //! Receivers are competing for messages. So a message that is received by | ||
| 7 | //! one receiver is not received by any other. | ||
| 8 | //! | ||
| 6 | //! This queue takes a Mutex type so that various | 9 | //! This queue takes a Mutex type so that various |
| 7 | //! targets can be attained. For example, a ThreadModeMutex can be used | 10 | //! targets can be attained. For example, a ThreadModeMutex can be used |
| 8 | //! for single-core Cortex-M targets where messages are only passed | 11 | //! for single-core Cortex-M targets where messages are only passed |
