It may have been there in the past but on my current Windows 10 it's not there
anymore.

They do exist in api-ms-win-core-synch-l1-2-*.dll

This contradicts the official documentation:
https://docs.microsoft.com/en-us/windows/win32/api/synchapi/nf-synchapi-waitonaddress
https://docs.microsoft.com/en-us/windows/win32/api/synchapi/nf-synchapi-wakebyaddressall
https://docs.microsoft.com/en-us/windows/win32/api/synchapi/nf-synchapi-wakebyaddresssingle

The proper way to use them is to link with synchronization.lib as the doc says.
---
 mingw-w64-crt/lib-common/kernel32.def.in | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/mingw-w64-crt/lib-common/kernel32.def.in 
b/mingw-w64-crt/lib-common/kernel32.def.in
index 4ed3fe0a..644c4209 100644
--- a/mingw-w64-crt/lib-common/kernel32.def.in
+++ b/mingw-w64-crt/lib-common/kernel32.def.in
@@ -1568,10 +1568,7 @@ WaitForThreadpoolWaitCallbacks
 WaitForThreadpoolWorkCallbacks
 WaitNamedPipeA
 WaitNamedPipeW
-WaitOnAddress
 WakeAllConditionVariable
-WakeByAddressSingle
-WakeByAddressAll
 WakeConditionVariable
 WerGetFlags
 WerGetFlagsWorker
-- 
2.26.2



_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to