IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 37050 for trunk/psLib/src/sys


Ignore:
Timestamp:
Jul 17, 2014, 10:22:22 AM (12 years ago)
Author:
eugene
Message:

minor changes from EAM testing of pswarp bug; nothing substantive changed

Location:
trunk/psLib/src/sys
Files:
3 edited

Legend:

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

    r32746 r37050  
    13151315    checkingForCorruption = true;
    13161316
     1317    // int nPrint = 0;
    13171318    psS32 nbad = 0;               // number of bad blocks
    13181319    for (psMemBlock *memBlock = (psMemBlock *) lastMemBlockAllocated; memBlock != NULL; memBlock = memBlock->nextBlock) {
     1320        // if (nPrint < 20) {
     1321        //     psMemBlockPrint (stderr, memBlock);
     1322        //     nPrint ++;
     1323        // }
    13191324        if (isBadMemBlock(output, memBlock, __FILE__, __LINE__, __func__)) {
    13201325            nbad++;
  • trunk/psLib/src/sys/psThread.c

    r34153 r37050  
    152152    psThreadJob *job = psListGetAndRemove((psList *) done, PS_LIST_HEAD);
    153153    return job;
     154}
     155
     156psList *psThreadGetPendingQueue () {
     157  return (psList *) pending;
    154158}
    155159
  • trunk/psLib/src/sys/psThread.h

    r33089 r37050  
    9090psThreadJob *psThreadJobGetDone(void);
    9191
     92// utility function to access the pending queue
     93psList *psThreadGetPendingQueue ();
     94
    9295/// Allocate a thread task
    9396psThreadTask *psThreadTaskAlloc(const char *type, // Type of task
Note: See TracChangeset for help on using the changeset viewer.