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

Rewrote algorithm for 64kb alignment in VirtualAlloc'ed memory; allocation changes for heap (in 64kb chunks) & PE image (align at 64kb)

File:
1 edited

Legend:

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

    r8648 r8877  
    1 /* $Id: hmthread.cpp,v 1.13 2002-06-11 16:36:53 sandervl Exp $ */
     1/* $Id: hmthread.cpp,v 1.14 2002-07-15 14:28:51 sandervl Exp $ */
    22
    33/*
     
    1313 *       WaitForSingle/MultipleObjects needs to be rewritten! (not using
    1414 *       Open32)
     15 *
     16 ************************************************************************************
     17 * NOTE: If we ever decide to allocate our own stack, then we MUST use VirtualAlloc!!!!
     18 *       (alignment reasons)
     19 ************************************************************************************
    1520 *
    1621 * Copyright 2000 Sander van Leeuwen (sandervl@xs4all.nl)
     
    7782        cbStack = 1048576; // per default 1MB stack per thread
    7883
     84    //************************************************************************************
     85    //NOTE: If we ever decide to allocate our own stack, then we MUST use VirtualAlloc!!!!
     86    //      (alignment reasons)
     87    //************************************************************************************
    7988    pHMHandleData->hHMHandle = O32_CreateThread(lpsa, cbStack, winthread->GetOS2Callback(),
    8089                                                (LPVOID)winthread, fdwCreate, lpIDThread);
Note: See TracChangeset for help on using the changeset viewer.