WakeByAddressSingle function (synchapi.h)

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

Syntax

void WakeByAddressSingle(
  [in] PVOID Address
);

Parameters

[in] 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

None

Remarks

Microsoft Store app developers may need to obtain synchronization.lib by installing the Windows Software Development Kit (SDK).

Only a thread within the same process can be woken.

Requirements

Requirement Value
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 API-MS-Win-Core-Synch-l1-2-0.dll

See also

WaitOnAddress

Vertdll APIs available in VBS enclaves