Changeset 0bdfcc3 for libcfa/src


Ignore:
Timestamp:
Nov 1, 2022, 10:06:24 PM (2 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, ast-experimental, master
Children:
e50d9cb8
Parents:
c7f12a4
Message:

formatting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/heap.cfa

    rc7f12a4 r0bdfcc3  
    1010// Created On       : Tue Dec 19 21:58:35 2017
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Sun Oct 30 15:33:13 2022
    13 // Update Count     : 1580
     12// Last Modified On : Sun Oct 30 20:56:20 2022
     13// Update Count     : 1584
    1414//
    1515
     
    499499        if ( unlikely( ! heapMasterBootFlag ) ) heapMasterCtor();
    500500
    501         lock( heapMaster.mgrLock );             // protect heapMaster counters
     501        lock( heapMaster.mgrLock );                                                     // protect heapMaster counters
    502502
    503503        // get storage for heap manager
     
    810810
    811811                size_t increase = ceiling2( size > heapExpand ? size : heapExpand, libAlign() );
    812                 // Do not call abort or strerror( errno ) as they may call malloc.
    813812                if ( unlikely( sbrk( increase ) == (void *)-1 ) ) {     // failed, no memory ?
    814813                        unlock( extLock );
    815                         abort( NO_MEMORY_MSG, size );                           // no memory
     814                        abort( NO_MEMORY_MSG, size );                           // give up
    816815                } // if
    817816
Note: See TracChangeset for help on using the changeset viewer.