4 ms·
The windows equivalent of futex_wait is WaitOnAddress. I don't think it supports waiting on multiple addresses, but I'm not a WIN32 programmer.
by gpderetta 5y ago
The windows equivalent of futex_wait is WaitOnAddress. I don't think it supports waiting on multiple addresses, but I'm not a WIN32 programmer.
- sumtechguy 5y agoYeah from the 10 mins I spent in the docs I do not think there is one baked in. You would probably have to roll your own. It would not be pretty. https://docs.microsoft.com/en-us/windows/win32/api/synchapi/nf-synchapi-waitonaddress https://docs.microsoft.com/en-us/windows/win32/api/synchapi/...
- wbl 5y agoWaitForMultipleObjects. And it isn't from the Windows heritage but from VMS.
- gpderetta 5y agoWFMO is equivalent to select. This is different.