diff options
| author | datdenkikniet <jcdra1@gmail.com> | 2023-04-22 21:27:26 +0200 |
|---|---|---|
| committer | datdenkikniet <jcdra1@gmail.com> | 2023-05-11 19:20:58 +0200 |
| commit | 3d97c9e431d7fcb20b1b30bc15c34ccffee03c79 (patch) | |
| tree | 6842b788361e247cc50423bee972cc7a3c6ba974 /book/en/src/migration_v1_v2/rtic-sync.md | |
| parent | ed465b0c3b8b4c588f5cc7945af79a504f928cc8 (diff) | |
Move deprecated migration guides to deprecated folder
Diffstat (limited to 'book/en/src/migration_v1_v2/rtic-sync.md')
| -rw-r--r-- | book/en/src/migration_v1_v2/rtic-sync.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/book/en/src/migration_v1_v2/rtic-sync.md b/book/en/src/migration_v1_v2/rtic-sync.md new file mode 100644 index 0000000..fefde03 --- /dev/null +++ b/book/en/src/migration_v1_v2/rtic-sync.md @@ -0,0 +1,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)
\ No newline at end of file |
