6
votes
Condition Variable – the new way to wait for changes
JEDI Windows API
– With Windows Vista we got a new tool for communicating over multiple threads: condition variables. I’ll try to give you a short overview, tell you, why it is better then events and illustrate the whole theory with some code snippets. Hopefully it will be funny. :) What is a conditional variable? Condition variables are nothing new. They are alread long known in the Unix world, and there are some thread frameworks already offering that feature. But since Windows Vista we have native support for them from the API. Condition variables are a combination of an event and a corresponding ...
Statistics
|
Visits by Source |
User Actions |




