IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 27, 2006, 3:17:09 PM (20 years ago)
Author:
Paul Price
Message:

Adding callback to p_psMemIncrRefCounter.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_rel9_b1/psLib/src/sys/psMemory.c

    r5216 r6228  
    88*  @author Robert Lupton, Princeton University
    99*
    10 *  @version $Revision: 1.65 $ $Name: not supported by cvs2svn $
    11 *  @date $Date: 2005-10-01 02:22:13 $
     10*  @version $Revision: 1.65.16.1 $ $Name: not supported by cvs2svn $
     11*  @date $Date: 2006-01-28 01:17:09 $
    1212*
    1313*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    579579    ptr->refCounter++;
    580580    pthread_mutex_unlock(&ptr->refCounterMutex);
     581
     582    // Did the user ask to be informed about this allocation?
     583    if (ptr->id == p_psMemAllocID) {
     584        p_psMemAllocID += memAllocCallback(ptr);
     585    }
    581586
    582587    return vptr;
Note: See TracChangeset for help on using the changeset viewer.