WakeByAddressSingle function

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

Syntax

void WakeByAddressSingle(
  PVOID Address
);

Parameters

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.

Remarks

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.

Requirements

   
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

WaitOnAddress