-
-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Labels
A-portable-atomic-utilArea: related to portable-atomic-util crateArea: related to portable-atomic-util crateC-enhancementCategory: A new feature or an improvement for an existing oneCategory: A new feature or an improvement for an existing one
Description
Requirements:
- Should completely avoid problems with padding. (crossbeam's AtomicCell and atomic-rs have problems with padding).
- Should be able to support structs and enums with multiple fields. (atomig doesn't support multiple fields)
- Should be
forbid(unsafe_code)compatible on the user side. (I have mentioned in the past the approach of using unsafe marker trait.) Atomic<&T>must be sound (i.e.,Relaxedordering is not allowed), butRelaxedordering should be allowed on plain data types like integers.
joseluis
Metadata
Metadata
Assignees
Labels
A-portable-atomic-utilArea: related to portable-atomic-util crateArea: related to portable-atomic-util crateC-enhancementCategory: A new feature or an improvement for an existing oneCategory: A new feature or an improvement for an existing one