Changes in libcfa/src/heap.cfa [0f89d4f:c45d2fa]
- File:
-
- 1 edited
-
libcfa/src/heap.cfa (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/heap.cfa
r0f89d4f rc45d2fa 10 10 // Created On : Tue Dec 19 21:58:35 2017 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Wed May 27 15:08:49202013 // Update Count : 77012 // Last Modified On : Sat Jun 13 22:42:15 2020 13 // Update Count : 805 14 14 // 15 15 … … 208 208 209 209 #if BUCKETLOCK == LOCKFREE 210 static inline Link(HeapManager.Storage) * ?`next( HeapManager.Storage * this ) { return &this->header.kind.real.next; } 211 static inline void ?{}( HeapManager.FreeHeader & ) {} 212 static inline void ^?{}( HeapManager.FreeHeader & ) {} 210 static inline { 211 Link(HeapManager.Storage) * getNext( HeapManager.Storage * this ) { return &this->header.kind.real.next; } 212 void ?{}( HeapManager.FreeHeader & ) {} 213 void ^?{}( HeapManager.FreeHeader & ) {} 214 } // distribution 213 215 #endif // LOCKFREE 214 216 … … 665 667 #else 666 668 for ( HeapManager.Storage * p = top( freeLists[i].freeList ); p != 0p; /* p = getNext( p )->top */) { 667 typeof(p) temp = ( p )`next->top; // FIX ME: direct assignent fails, initialization works669 typeof(p) temp = getNext( p )->top; // FIX ME: direct assignent fails, initialization works 668 670 p = temp; 669 671 #endif // BUCKETLOCK … … 901 903 return oaddr; 902 904 } // if 903 905 904 906 // change size, DO NOT preserve STICKY PROPERTIES. 905 907 free( oaddr );
Note:
See TracChangeset
for help on using the changeset viewer.