diff options
| author | datdenkikniet <jcdra1@gmail.com> | 2023-04-22 18:25:00 +0200 |
|---|---|---|
| committer | datdenkikniet <jcdra1@gmail.com> | 2023-05-11 19:20:58 +0200 |
| commit | d90fa95266bc9864d2dec0248fa4bae5c7e5b6ec (patch) | |
| tree | fae20e927b0d9d5f1b13921d65699d3dde72e053 /book/en/src/migration/migration_v2/rtic-sync.md | |
| parent | 1dc2f80eb6cb6ac6d1eaede4169d8cabc51c5e7c (diff) | |
Add some more
Diffstat (limited to 'book/en/src/migration/migration_v2/rtic-sync.md')
| -rw-r--r-- | book/en/src/migration/migration_v2/rtic-sync.md | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/book/en/src/migration/migration_v2/rtic-sync.md b/book/en/src/migration/migration_v2/rtic-sync.md index d086d5d..fefde03 100644 --- a/book/en/src/migration/migration_v2/rtic-sync.md +++ b/book/en/src/migration/migration_v2/rtic-sync.md @@ -1 +1,9 @@ -# Using `rtic-sync`
\ No newline at end of file +# 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 |
