msvcp140_atomic_wait: Add __std_atomic_notify_all_direct implementation.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Piotr Caban 2022-04-27 20:22:20 +02:00 committed by Alexandre Julliard
parent 32a369d6c2
commit 4c26471abe
2 changed files with 7 additions and 1 deletions

View File

@ -68,3 +68,9 @@ void __stdcall __std_atomic_notify_one_direct(void *addr)
TRACE("(%p)\n", addr); TRACE("(%p)\n", addr);
WakeByAddressSingle(addr); WakeByAddressSingle(addr);
} }
void __stdcall __std_atomic_notify_all_direct(void *addr)
{
TRACE("(%p)\n", addr);
WakeByAddressAll(addr);
}

View File

@ -2,7 +2,7 @@
@ stub __std_atomic_compare_exchange_128 @ stub __std_atomic_compare_exchange_128
@ stub __std_atomic_get_mutex @ stub __std_atomic_get_mutex
@ stub __std_atomic_has_cmpxchg16b @ stub __std_atomic_has_cmpxchg16b
@ stub __std_atomic_notify_all_direct @ stdcall __std_atomic_notify_all_direct(ptr)
@ stub __std_atomic_notify_all_indirect @ stub __std_atomic_notify_all_indirect
@ stdcall __std_atomic_notify_one_direct(ptr) @ stdcall __std_atomic_notify_one_direct(ptr)
@ stub __std_atomic_notify_one_indirect @ stub __std_atomic_notify_one_indirect