Re: Closing a thread that is waiting for Irq



Instead of a global flag you can use the little known Event Data functions
GetEventData and SetEventData to store the abort flag. This is preferred to
forcing the event closed as closing the event generates an error condition
and you can't distinguish it from a real error.


--
Steve Maillet
EmbeddedFusion
www.EmbeddedFusion.com
smaillet at EmbeddedFusion dot com


.