Re: event vs volatile bool
From: manu (manu_at_manu.net)
Date: 11/03/04
- Next message: Vasantharaj: "Restricting access to USB devices"
- Previous message: Maxim S. Shatskih: "Re: Interactive Service Related to Logon"
- In reply to: Arkady Frenkel: "Re: event vs volatile bool"
- Next in thread: Arkady Frenkel: "Re: event vs volatile bool"
- Reply: Arkady Frenkel: "Re: event vs volatile bool"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 3 Nov 2004 14:53:11 +0100
> In your case it's the same but in really you don't need while loop in the
> case of event , just after another thread set event your
> WaitForSingleObject will awake and do the business , that difference
between
> polling scenario vs. notification
> Arkady
yes, but i need to do the stuff every second, the event could be raised
after 100, 1000 seconds, that stops everything.
- Next message: Vasantharaj: "Restricting access to USB devices"
- Previous message: Maxim S. Shatskih: "Re: Interactive Service Related to Logon"
- In reply to: Arkady Frenkel: "Re: event vs volatile bool"
- Next in thread: Arkady Frenkel: "Re: event vs volatile bool"
- Reply: Arkady Frenkel: "Re: event vs volatile bool"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|