atomic_enum icon indicating copy to clipboard operation
atomic_enum copied to clipboard

An attribute to create an atomic wrapper around a C-style enum

Results 2 atomic_enum issues
Sort by recently updated
recently updated
newest added

In reality this value should never be invalid. Teaching this to the compiler improves benchmarks for some low-level task polling code I'm working on by 3-4% in practice.

This library uses `AtomicUsize` as the underlying numeric atomic size. In most cases, AtomicU8 would be possible, but it would be nice if the macro could change the underlying atomic...