Changeset 591f084 for doc/theses/thierry_delisle_PhD
- Timestamp:
- Jun 5, 2020, 3:38:58 PM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 03045f18
- Parents:
- 0da5cd5
- Location:
- doc/theses/thierry_delisle_PhD/code
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/theses/thierry_delisle_PhD/code/snzi.hpp
r0da5cd5 r591f084 29 29 30 30 private: 31 class __attribute__((aligned( 64))) node {31 class __attribute__((aligned(128))) node { 32 32 friend class snzi_t; 33 33 private: -
doc/theses/thierry_delisle_PhD/code/snzm.hpp
r0da5cd5 r591f084 34 34 35 35 private: 36 class __attribute__((aligned( 64))) node {36 class __attribute__((aligned(128))) node { 37 37 friend class snzm_t; 38 38 private: … … 153 153 /* paranoid */ assert( (mask & ( 1 << bit )) == 0 ); 154 154 155 arrive_h(); 155 156 __atomic_fetch_add( &mask, 1 << bit, __ATOMIC_RELAXED ); 156 arrive_h();157 // bts( (std::atomic_size_t&)mask, bit ); 157 158 158 159 } … … 162 163 /* paranoid */ assert( (mask & ( 1 << bit )) != 0 ); 163 164 165 // btr( (std::atomic_size_t&)mask, bit ); 166 __atomic_fetch_sub( &mask, 1 << bit, __ATOMIC_RELAXED ); 164 167 depart_h(); 165 __atomic_fetch_sub( &mask, 1 << bit, __ATOMIC_RELAXED );166 168 } 167 169
Note: See TracChangeset
for help on using the changeset viewer.