File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 11//! Channels
2+ //!
3+ //! Multi-producer, multi-consumer queues, used for message-based
4+ //! communication. Can provide a lightweight inter-task synchronisation
5+ //! mechanism, at the cost of some extra memory.
26
37#[ doc( inline) ]
48pub use async_channel:: * ;
Original file line number Diff line number Diff line change 129129//! to reach a point in the program, before continuing execution all
130130//! together.
131131//!
132- //! - [`channel`]: Multi-producer, multi-consumer queues, used for
133- //! message-based communication. Can provide a lightweight
134- //! inter-task synchronisation mechanism, at the cost of some
135- //! extra memory.
136- //!
137132//! - [`Mutex`]: Mutual exclusion mechanism, which ensures that at
138133//! most one task at a time is able to access some data.
139134//!
142137//! writer at a time. In some cases, this can be more efficient than
143138//! a mutex.
144139//!
140+ //! If you're looking for channels, check out
141+ //! [`async_std::channel`][crate::channel].
142+ //!
145143//! [`Arc`]: struct.Arc.html
146144//! [`Barrier`]: struct.Barrier.html
147145//! [`channel`]: fn.channel.html
You can’t perform that action at this time.
0 commit comments