Changeset 956 for trunk/src/kernel32/wintls.cpp
- Timestamp:
- Sep 16, 1999, 1:39:08 AM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/wintls.cpp
r617 r956 1 /* $Id: wintls.cpp,v 1. 4 1999-08-22 11:11:11sandervl Exp $ */1 /* $Id: wintls.cpp,v 1.5 1999-09-15 23:38:02 sandervl Exp $ */ 2 2 /* 3 3 * Win32 TLS API functions … … 10 10 */ 11 11 #include <os2win.h> 12 #include <winimage.h> 12 #include <string.h> 13 #include <winimagebase.h> 13 14 #include <thread.h> 14 15 #include <wprocess.h> … … 18 19 //****************************************************************************** 19 20 //****************************************************************************** 20 void Win32Image ::tlsAlloc() //Allocate TLS index for this module21 void Win32ImageBase::tlsAlloc() //Allocate TLS index for this module 21 22 { 22 23 if(!tlsAddress) … … 29 30 return; 30 31 } 31 dprintf(("Win32Image ::tlsAlloc (%d) for module %x", tlsIndex, hinstance));32 dprintf(("Win32ImageBase::tlsAlloc (%d) for module %x", tlsIndex, hinstance)); 32 33 } 33 34 //****************************************************************************** 34 35 //****************************************************************************** 35 void Win32Image ::tlsDelete() //Free TLS index for this module36 void Win32ImageBase::tlsDelete() //Free TLS index for this module 36 37 { 37 38 if(!tlsAddress) … … 43 44 return; 44 45 } 45 dprintf(("Win32Image ::tlsDestroy (%d) for module %x", tlsIndex, hinstance));46 dprintf(("Win32ImageBase::tlsDestroy (%d) for module %x", tlsIndex, hinstance)); 46 47 TlsFree(tlsIndex); 47 48 tlsIndex = -1; … … 49 50 //****************************************************************************** 50 51 //****************************************************************************** 51 void Win32Image ::tlsAttachThread() //setup TLS structures for new thread52 void Win32ImageBase::tlsAttachThread() //setup TLS structures for new thread 52 53 { 53 54 EXCEPTION_FRAME exceptFrame; … … 66 67 } 67 68 68 dprintf(("Win32Image ::tlsAttachThread for module %x, thread id %x", hinstance, GetCurrentThreadId()));69 dprintf(("Win32ImageBase::tlsAttachThread for module %x, thread id %x", hinstance, GetCurrentThreadId())); 69 70 dprintf(("tlsAddress: %x", tlsAddress)); 70 71 dprintf(("tlsInitSize: %x", tlsInitSize)); … … 105 106 //****************************************************************************** 106 107 //****************************************************************************** 107 void Win32Image ::tlsDetachThread() //destroy TLS structures108 void Win32ImageBase::tlsDetachThread() //destroy TLS structures 108 109 { 109 110 EXCEPTION_FRAME exceptFrame; … … 115 116 return; 116 117 117 dprintf(("Win32Image ::tlsDetachThread for module %x, thread id %x", hinstance, GetCurrentThreadId()));118 dprintf(("Win32ImageBase::tlsDetachThread for module %x, thread id %x", hinstance, GetCurrentThreadId())); 118 119 119 120 if((ULONG)*tlsCallBackAddr != 0) {
Note:
See TracChangeset
for help on using the changeset viewer.