Home > Back-end >  How to use the conditional variables under Windows Xp.
How to use the conditional variables under Windows Xp.

Time:12-09


Such as topic, how to use the conditional variables under winxp?
Xp does not support InitializeConditionVariable under this kind of function, don't know how to use condition variables, and the great spirit guide,

CodePudding user response:

Windows Server 2003 and Windows XP: Condition variables are not supported.

But why should it? So many synchronization method

CodePudding user response:

I think you can use the Event Objects and WaitForSingleObject instead of
https://docs.microsoft.com/en-us/windows/win32/sync/using-event-objects
  • Related