IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 22, 2011, 12:27:33 AM (15 years ago)
Author:
eugene
Message:

merged from eam_branches/ipp-20110505: update memory locking to allow paralled realloc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/sys/psMemory.h

    r31152 r31660  
    7373
    7474    psReferenceCount refCounter;        ///< how many times pointer is referenced
    75     bool persistent;                    ///< marks if this non-user persistent data like error stack, etc.
     75    bool persistent;                    ///< true if this is non-user persistent data like error stack, etc.
     76    bool inFlight;                      ///< true if a nearby block is being free'ed / realloc'ed (local lock)
    7677    const uint32_t endblock;            ///< initialised to p_psMEMMAGIC
    7778}
     
    145146#endif // ifdef DOXYGEN
    146147
     148// if we decide to use spinlocks for psMemory, it will be necessary to call this function at
     149// the start of every psLib-based program (spinlocks do not have a static initializer)
     150void psMemInit(void);
    147151
    148152/** Set the deallocator routine
Note: See TracChangeset for help on using the changeset viewer.