[ros-kernel] Advice needed: thread termination, APCs

Ge van Geldorp gvg at reactos.com
Tue Sep 14 14:36:57 CEST 2004


> From: Ge van Geldorp
>
> But when that's changed, the current thread termination 
> mechanism (queue a usermode APC to self-destruct) won't work 
> anymore. It would be possible for a thread to call 
> NtUserGetMessage(), be terminated while in kernel mode 
> waiting for a message, and then return from 
> NtUserGetMessage() back to usermode because the APC wouldn't 
> be delivered.

Ok, scrap that. I guess I'm mixing up kernelmode and usermode APCs here.

This APC stuff makes my head hurt. It's almost as bad as thinking about
licenses.

Ge.



More information about the Ros-kernel mailing list