[ros-kernel] ETHREAD: info request

Aliberti Emanuele ea at iol.it
Sun Feb 22 17:33:13 CET 2004


KJK::Hyperion wrote:

> you aren't supposed to access ETHREADs other than PsGetCurrentThread(). 
> ETHREADs have no lock - they are intrinsically locked when they are 
> active and running at APC_LEVEL. Avoid accessing remote ETHREADs. If you 
> can't do otherwise, use an APC

Well, it seems that Cutler *did* it instead. I don't know how, yet. That 
is why I asked here. For what I can see now, LPC request are *always* 
queued in the connection port (the one you create with NtCreatePort), 
but replies are put in the ETHREAD of the thread pending a reply.

ea


More information about the Ros-kernel mailing list