Condition Variables


The classic thread synchronization objects are Mutex, Semaphore, and Condition Variable.


Windows always has Mutex and Semaphore.


Now in Windows Vista, you can also use Condition Variable.


Using Condition Variables
http://msdn.microsoft.com/library/en-us/dllproc/base/using_condition_variables.asp

Comments (1)

  1. TAG says:

    Instead of posting link can you clarify that so good with those conditional variables?

    As far as I understand – they simply allow to not wake up threads for check of some conditionals ?

    Is there native support for them in kernel thread scheduler or this is simply a library ?

    Is there something that they offer impossible to do in current Windows builds? Is there emulation libraries for old OS versions ?

    Cool functions – but not everybody will be willing to target development for nonexistent OS.