Changeset 7010 for trunk/src/kernel32
- Timestamp:
- Oct 11, 2001, 3:00:12 AM (24 years ago)
- Location:
- trunk/src/kernel32
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/KERNEL32.DEF
r6934 r7010 1 ; $Id: KERNEL32.DEF,v 1.12 4 2001-10-03 13:48:56 sandervlExp $1 ; $Id: KERNEL32.DEF,v 1.125 2001-10-11 00:59:42 phaller Exp $ 2 2 3 3 ;Basis is Windows95 KERNEL32 … … 1199 1199 _dbg_IncThreadCallDepth@0 @3101 NONAME 1200 1200 _dbg_DecThreadCallDepth@0 @3102 NONAME 1201 PerfView_RegisterCall @3103 NONAME 1202 PerfView_DumpProfile @3104 NONAME 1203 PerfView_Write @3105 NONAME -
trunk/src/kernel32/ccollection.cpp
r5848 r7010 1 /* $Id: ccollection.cpp,v 1. 6 2001-06-01 01:21:13 phaller Exp $ */1 /* $Id: ccollection.cpp,v 1.7 2001-10-11 00:59:43 phaller Exp $ */ 2 2 3 3 /* … … 780 780 781 781 782 int CHashtableLookup::getElementMap(PHASHTABLEENTRY pBuffer) 783 { 784 int iIndex = 0; 785 786 // iterate over all registered entries and dump them to the buffer 787 // giving the caller direct access to the hashtable internals. 788 for (int i = 0; 789 i < iSize; 790 i++) 791 { 792 // check if slot was occupied 793 if (parrLists[i] != NULL) 794 { 795 // walk along any entry in that linear list 796 PLINEARLISTENTRY pLLE = parrLists[i]->getFirst(); 797 798 while (pLLE) 799 { 800 PHASHTABLEENTRY pHTE = (PHASHTABLEENTRY)pLLE->pObject; 801 memcpy(&pBuffer[iIndex], pHTE, sizeof( HASHTABLEENTRY ) ); 802 iIndex++; 803 804 pLLE = parrLists[i]->getNext(pLLE); 805 } 806 } 807 } 808 809 // return number of elements copied 810 return iIndex; 811 } 812 813 782 814 void CHashtableLookup::setSize0(int iNewSize) 783 815 { -
trunk/src/kernel32/kernel32.mak
r6892 r7010 1 # $Id: kernel32.mak,v 1.1 4 2001-09-30 08:50:59 birdExp $1 # $Id: kernel32.mak,v 1.15 2001-10-11 00:59:44 phaller Exp $ 2 2 3 3 # … … 25 25 $(OBJDIR)\kernel32.obj \ 26 26 $(OBJDIR)\ccollection.obj \ 27 $(OBJDIR)\perfview.obj \ 27 28 $(OBJDIR)\kobjects.obj \ 28 29 $(OBJDIR)\console.obj \ -
trunk/src/kernel32/wprocess.cpp
r6831 r7010 1 /* $Id: wprocess.cpp,v 1.13 4 2001-09-26 16:02:54phaller Exp $ */1 /* $Id: wprocess.cpp,v 1.135 2001-10-11 01:00:12 phaller Exp $ */ 2 2 3 3 /* … … 429 429 } 430 430 threadListMutex.leave(); 431 431 432 433 #ifdef PROFILE 434 // Note: after this point we do not expect any more Win32-API calls, 435 // so this is probably the best time to dump the gathered profiling 436 // information 437 PerfView_Write(); 438 #endif /* PROFILE */ 439 440 441 432 442 //Restore original OS/2 TIB selector 433 443 DestroyTIB();
Note:
See TracChangeset
for help on using the changeset viewer.