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