Opened 15 years ago
Closed 15 years ago
#35 closed defect (fixed)
remove volatile, add barrier
Reported by: | becoulet | Owned by: | becoulet |
---|---|---|---|
Priority: | critical | Milestone: | |
Component: | hexo | Keywords: | |
Cc: |
Description
We should remove and discourage use of volatile attribute as it doesn't enforce compiler and cpu access ordering and is often misused. Something like #define volatile volatile attribute((deprecated)) could help.
We should add a hexo/ordering.h header file with compiler and processor/platform barrier primitives.
Note: See
TracTickets for help on using
tickets.