- Timestamp:
- Sep 23, 2010, 11:51:19 PM (15 years ago)
- Location:
- trunk/src/kernel32
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/hmthread.cpp
r21302 r21457 88 88 89 89 if(winthread == 0) { 90 dprintf(("Win32Thread creation failed, no more memory")); 90 91 DebugInt3(); 91 92 SetLastError(ERROR_NOT_ENOUGH_MEMORY); 92 93 return(0); 93 94 } 95 if(winthread->_GetTEB() == 0) { 96 dprintf(("Win32Thread->teb creation failed, no more memory")); 97 DebugInt3(); 98 SetLastError(ERROR_NOT_ENOUGH_MEMORY); 99 return(0); 100 } 101 94 102 // @@@PH Note: with debug code enabled, ODIN might request more stack space! 95 103 //SvL: Also need more stack in release build (RealPlayer 7 sometimes runs -
trunk/src/kernel32/thread.H
r8648 r21457 21 21 22 22 PTHREAD_START_ROUTINE_O32 GetOS2Callback() { return Win32ThreadProc; }; 23 /* this is to be privately used by hmthread.cpp only */ 24 LPVOID _GetTEB() { return teb; }; 23 25 24 26 private:
Note:
See TracChangeset
for help on using the changeset viewer.