-
-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Labels
C-enhancementCategory: A new feature or an improvement for an existing oneCategory: A new feature or an improvement for an existing one
Description
Currently, the is_always_lock_free method provides a way of ascertaining whether a certain atomic implementation is lock-free as a const; but in today’s Rust one cannot, for example, allow the layouts of structs to depend on this value. To support this use-case, it might be nice to expose cfg_atomic_*_always_lock_free and cfg_atomic_*_not_always_lock_free alongside the other cfg_* macros.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
C-enhancementCategory: A new feature or an improvement for an existing oneCategory: A new feature or an improvement for an existing one