Re: Closing a thread that is waiting for Irq



No. You have to wait with WaitForSingleObject. You can set a shutdown flag
and call SetEvent. In the IST you can check for the shutdown flag.

/Helge

"Anthony Pellerin" <apellerin_nospam@xxxxxxxxxxxxxxxxxxxxxx> wrote in
message news:eqnGplHfFHA.272@xxxxxxxxxxxxxxxxxxxxxxx
>I think that you can call waitformultipleobject if no more than 1 event is
>from an IRQ.
> So call it for your IRQ event and for a "STOP" event (which is not from
> an IRQ) and this should work


.