From d90fa95266bc9864d2dec0248fa4bae5c7e5b6ec Mon Sep 17 00:00:00 2001 From: datdenkikniet Date: Sat, 22 Apr 2023 18:25:00 +0200 Subject: Add some more --- book/en/src/migration/migration_v2/rtic-sync.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'book/en/src/migration/migration_v2/rtic-sync.md') 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 -- cgit v1.2.3