Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/heap.cfa

    rc45d2fa r0f89d4f  
    1010// Created On       : Tue Dec 19 21:58:35 2017
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Sat Jun 13 22:42:15 2020
    13 // Update Count     : 805
     12// Last Modified On : Wed May 27 15:08:49 2020
     13// Update Count     : 770
    1414//
    1515
     
    208208
    209209#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
     210static inline Link(HeapManager.Storage) * ?`next( HeapManager.Storage * this ) { return &this->header.kind.real.next; }
     211static inline void ?{}( HeapManager.FreeHeader & ) {}
     212static inline void ^?{}( HeapManager.FreeHeader & ) {}
    215213#endif // LOCKFREE
    216214
     
    667665                #else
    668666                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 works
     667                        typeof(p) temp = ( p )`next->top;                       // FIX ME: direct assignent fails, initialization works
    670668                        p = temp;
    671669                #endif // BUCKETLOCK
     
    903901                        return oaddr;
    904902                } // if
    905        
     903
    906904                // change size, DO NOT preserve STICKY PROPERTIES.
    907905                free( oaddr );
Note: See TracChangeset for help on using the changeset viewer.