aboutsummaryrefslogtreecommitdiff
path: root/book/en/src/migration_v1_v2/rtic-sync.md
blob: fefde0326bce442aaa9288b08ab7c9f63470fe7f (plain)
1
2
3
4
5
6
7
8
9
# 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](https://docs.rs/rtic-sync)