Ignore:
Timestamp:
Jul 15, 2002, 4:40:16 PM (23 years ago)
Author:
sandervl
Message:

Dynamically allocate handlemanager array to prevent waste of shared memory (as it is a private array (for now))

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/initkernel32.cpp

    r8863 r8880  
    1 /* $Id: initkernel32.cpp,v 1.20 2002-07-13 15:57:57 sandervl Exp $
     1/* $Id: initkernel32.cpp,v 1.21 2002-07-15 14:40:16 sandervl Exp $
    22 *
    33 * KERNEL32 DLL entry point
     
    140140                return 0UL;
    141141
     142            //SvL: Do it here instead of during the exe object creation
     143            //(std handles can be used in win32 dll initialization routines
     144            HMInitialize();             /* store standard handles within HandleManager */
     145
    142146            InitializeMemMaps();
    143147
     
    173177            OSLibDosSetInitialMaxFileHandles(ODIN_DEFAULT_MAX_FILEHANDLES);
    174178
    175             //SvL: Do it here instead of during the exe object creation
    176             //(std handles can be used in win32 dll initialization routines
    177             HMInitialize();             /* store standard handles within HandleManager */
    178179            InitDirectories();          //Must be done before InitializeTIB (which loads NTDLL -> USER32)
    179180            InitializeMainThread();     //Must be done after HMInitialize!
Note: See TracChangeset for help on using the changeset viewer.