Ignore:
Timestamp:
Feb 14, 2001, 11:36:45 AM (25 years ago)
Author:
sandervl
Message:

TLS index allocation + RtlUnwind fixes

File:
1 edited

Legend:

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

    r5011 r5128  
    1 /* $Id: winimagepeldr.cpp,v 1.66 2001-01-22 18:26:51 sandervl Exp $ */
     1/* $Id: winimagepeldr.cpp,v 1.67 2001-02-14 10:36:45 sandervl Exp $ */
    22
    33/*
     
    628628    }
    629629
     630    //Allocate TLS index for this module
     631    //Must do this before dlls are loaded for this module. Some apps assume
     632    //they get TLS index 0 for their main executable
     633    tlsAlloc();
     634    tlsAttachThread();  //setup TLS (main thread)
     635
    630636    if(!(dwFlags & (FLAG_PELDR_LOADASDATAFILE | FLAG_PELDR_SKIPIMPORTS)))
    631637    {
Note: See TracChangeset for help on using the changeset viewer.