Skip to content

Commit

Permalink
Refer to portable-atomic instead of atomic-polyfill
Browse files Browse the repository at this point in the history
Atomic-polyfill is deprecated and its README recommends to use portable-atomic instead.
  • Loading branch information
jannic committed Jul 13, 2023
1 parent af414be commit 87a0ac8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 87a0ac8

Please sign in to comment.