|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| Yes
| Import Library
| kernel32.lib
| Header File
| winbase.h
| Unicode
| No
| Platform Notes
| None
|
|
|
TlsFree
The
TlsFree function releases a thread local storage (TLS) index, making it available for
reuse.
BOOL TlsFree(
DWORD dwTlsIndex
| // TLS index to free
|
);
|
|
Parameters
dwTlsIndex
Specifies a TLS index that was allocated by the
TlsAlloc function.
Return Values
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error
information, call
GetLastError.
Remarks
If the threads of the process have allocated dynamic storage and used the TLS
index to store pointers to this storage, they should free the storage before
calling
TlsFree. The
TlsFree function does not free any dynamic storage that has been associated with the
TLS index. It is expected that DLLs call this function (if at all) only during
their process detach routine.
For a brief discussion of typical uses of the TLS functions, see the Remarks
section of the
TlsAlloc function.
See Also
TlsAlloc,
TlsGetValue,
TlsSetValue
- Software for developers
-
Delphi Components
.Net Components
Software for Android Developers
- More information resources
-
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
- Databases for Amazon shops developers
-
Amazon Categories Database
Browse Nodes Database