WakeByAddressAll function

Wakes all threads that are waiting for the value of an address to change.

Syntax

void WakeByAddressAll(
  PVOID Address
);

Parameters

Address

The address to signal. If any threads have previously called WaitOnAddress for this address, the system wakes all of the waiting threads.

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 threads 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