Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/heap.cfa

    r0f89d4f rc45d2fa  
    1010// Created On       : Tue Dec 19 21:58:35 2017
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Wed May 27 15:08:49 2020
    13 // Update Count     : 770
     12// Last Modified On : Sat Jun 13 22:42:15 2020
     13// Update Count     : 805
    1414//
    1515
     
    208208
    209209#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 & ) {}
     210static 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
    213215#endif // LOCKFREE
    214216
     
    665667                #else
    666668                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 works
     669                        typeof(p) temp = getNext( p )->top;                     // FIX ME: direct assignent fails, initialization works
    668670                        p = temp;
    669671                #endif // BUCKETLOCK
     
    901903                        return oaddr;
    902904                } // if
    903 
     905       
    904906                // change size, DO NOT preserve STICKY PROPERTIES.
    905907                free( oaddr );
Note: See TracChangeset for help on using the changeset viewer.