From 87a0ac8d2769778095fc1d30ebc7f85841dba36d Mon Sep 17 00:00:00 2001 From: Jan Niehusmann Date: Thu, 13 Jul 2023 11:37:03 +0000 Subject: [PATCH] Refer to portable-atomic instead of atomic-polyfill Atomic-polyfill is deprecated and its README recommends to use portable-atomic instead. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9b8355b..0fb4cf8 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ A critical section that works everywhere! When writing software for embedded systems, it's common to use a "critical section" as a basic primitive to control concurrency. A critical section is essentially a mutex global to the whole process, that can be acquired by only one thread at a time. -This can be used to protect data behind mutexes, to [emulate atomics](https://github.com/embassy-rs/atomic-polyfill) in +This can be used to protect data behind mutexes, to [emulate atomics](https://crates.io/crates/portable-atomic) in targets that don't support them, etc. There's a wide range of possible implementations depending on the execution environment: