Ignore:
Timestamp:
Sep 23, 2010, 11:51:19 PM (15 years ago)
Author:
ydario
Message:

In low mem situations, DosAllocMem() can fail while new() can still work, check for a valid TEB structure also.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/thread.H

    r8648 r21457  
    2121
    2222    PTHREAD_START_ROUTINE_O32 GetOS2Callback()  { return Win32ThreadProc; };
     23    /* this is to be privately used by hmthread.cpp only */
     24    LPVOID _GetTEB()  { return teb; };
    2325
    2426private:
Note: See TracChangeset for help on using the changeset viewer.