Changeset 37050 for trunk/psLib/src/sys
- Timestamp:
- Jul 17, 2014, 10:22:22 AM (12 years ago)
- Location:
- trunk/psLib/src/sys
- Files:
-
- 3 edited
-
psMemory.c (modified) (1 diff)
-
psThread.c (modified) (1 diff)
-
psThread.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/sys/psMemory.c
r32746 r37050 1315 1315 checkingForCorruption = true; 1316 1316 1317 // int nPrint = 0; 1317 1318 psS32 nbad = 0; // number of bad blocks 1318 1319 for (psMemBlock *memBlock = (psMemBlock *) lastMemBlockAllocated; memBlock != NULL; memBlock = memBlock->nextBlock) { 1320 // if (nPrint < 20) { 1321 // psMemBlockPrint (stderr, memBlock); 1322 // nPrint ++; 1323 // } 1319 1324 if (isBadMemBlock(output, memBlock, __FILE__, __LINE__, __func__)) { 1320 1325 nbad++; -
trunk/psLib/src/sys/psThread.c
r34153 r37050 152 152 psThreadJob *job = psListGetAndRemove((psList *) done, PS_LIST_HEAD); 153 153 return job; 154 } 155 156 psList *psThreadGetPendingQueue () { 157 return (psList *) pending; 154 158 } 155 159 -
trunk/psLib/src/sys/psThread.h
r33089 r37050 90 90 psThreadJob *psThreadJobGetDone(void); 91 91 92 // utility function to access the pending queue 93 psList *psThreadGetPendingQueue (); 94 92 95 /// Allocate a thread task 93 96 psThreadTask *psThreadTaskAlloc(const char *type, // Type of task
Note:
See TracChangeset
for help on using the changeset viewer.
