Re: how to implement Thread Local Storage (TLS) in kernel
- From: "Ben Kial" <benkial@xxxxxxxxxxx>
- Date: 14 Jun 2005 03:00:52 -0700
I want to "extend" the ETHREAD data structure and keep
some extra information about each running thread. Creating
a TLS scheme is the only way I can think of in kernel...
I think creating a table and using Thread ID to lookup is the
easy part. The hard part is knowing when to remove the entry
when a thread exits. Do you know any (un)documented API that
kernel handles thread exiting evernt?
Ben
.
- Follow-Ups:
- Re: how to implement Thread Local Storage (TLS) in kernel
- From: Don Burn
- Re: how to implement Thread Local Storage (TLS) in kernel
- References:
- how to implement Thread Local Storage (TLS) in kernel
- From: Ben Kial
- Re: how to implement Thread Local Storage (TLS) in kernel
- From: Doron Holan [MS]
- how to implement Thread Local Storage (TLS) in kernel
- Prev by Date: Re: XIP Support in Windows 2003
- Next by Date: Re: how to implement Thread Local Storage (TLS) in kernel
- Previous by thread: Re: how to implement Thread Local Storage (TLS) in kernel
- Next by thread: Re: how to implement Thread Local Storage (TLS) in kernel
- Index(es):
Relevant Pages
|