WakeByAddressSingle function

Wakes one thread that is waiting for the value of an address to change.


void WakeByAddressSingle(
  PVOID Address



The address to signal. If another thread has previously called WaitOnAddress for this address, the system wakes the waiting thread. If multiple threads are waiting for this address, the system wakes the first thread to wait.

Return Value

This function does not return a value.


Windows Store apps developers may need to obtain synchronization.lib by installing the Windows Software Development Kit (SDK) for Windows 8.

Only a thread within the same process can be woken.


Minimum supported client Windows 8 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 [desktop apps | UWP apps]
Target Platform Windows
Header synchapi.h (include Windows.h)
Library Synchronization.lib
DLL Kernel32.dll

See Also