Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Using rtic-sync

rtic-sync provides primitives that can be used for message passing and resource sharing in async context.

The important structs are:

  • The Arbiter, which allows you to await access to a shared resource in async contexts without using lock.
  • Channel, which allows you to communicate between tasks (both async and non-async).

For more information on these structs, see the rtic-sync docs