Changeset 8c50aed for libcfa/src/concurrency/invoke.h
- Timestamp:
- Feb 21, 2020, 3:33:14 PM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- a505021
- Parents:
- b0c7419
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/invoke.h
rb0c7419 r8c50aed 200 200 #ifdef __cforall 201 201 extern "Cforall" { 202 static inline thread_desc *& get_next( thread_desc & this ) {202 static inline thread_desc *& get_next( thread_desc & this ) __attribute__((const)) { 203 203 return this.next; 204 204 } 205 205 206 static inline [thread_desc *&, thread_desc *& ] __get( thread_desc & this ) {206 static inline [thread_desc *&, thread_desc *& ] __get( thread_desc & this ) /*__attribute__((const))*/ { 207 207 return this.node.[next, prev]; 208 208 } … … 220 220 } 221 221 222 static inline bool ?==?( const __monitor_group_t & lhs, const __monitor_group_t & rhs ) {222 static inline bool ?==?( const __monitor_group_t & lhs, const __monitor_group_t & rhs ) __attribute__((const)) { 223 223 if( (lhs.data != 0) != (rhs.data != 0) ) return false; 224 224 if( lhs.size != rhs.size ) return false;
Note: See TracChangeset
for help on using the changeset viewer.