how to implement Thread Local Storage (TLS) in kernel
- From: "Ben Kial" <benkial@xxxxxxxxxxx>
- Date: 13 Jun 2005 22:25:09 -0700
I need to implement a Thread Local Storage (TLS) scheme in Windows
kernel
(XP SP2). I plan to create a global hash table and use
PsGetCurrentThreadId() as the index.
My question is how can I trap the thread exit event inside kernel so
that I can "de-register" the TLS entry when a thread exits.
Thanks in advance,
Ben
.
- Follow-Ups:
- Re: how to implement Thread Local Storage (TLS) in kernel
- From: Pavel A.
- Re: how to implement Thread Local Storage (TLS) in kernel
- From: Doron Holan [MS]
- Re: how to implement Thread Local Storage (TLS) in kernel
- Prev by Date: Re: What is the fastest IPC faculty in Windows 2000 or later?
- Next by Date: Re: Enumerating 32-bit modules from 32-bit processes in WOW64
- Previous by thread: LPC between user-mode processes
- Next by thread: Re: how to implement Thread Local Storage (TLS) in kernel
- Index(es):
Relevant Pages
|
Loading