msvcp140_atomic_wait: Add __std_atomic_notify_one_direct implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
2b4b10be9a
commit
32a369d6c2
|
@ -1,5 +1,5 @@
|
||||||
MODULE = msvcp140_atomic_wait.dll
|
MODULE = msvcp140_atomic_wait.dll
|
||||||
IMPORTS = msvcp140
|
IMPORTS = kernelbase msvcp140
|
||||||
|
|
||||||
C_SRCS = \
|
C_SRCS = \
|
||||||
main.c
|
main.c
|
||||||
|
|
|
@ -62,3 +62,9 @@ void __stdcall __std_wait_for_threadpool_work_callbacks(PTP_WORK work, BOOL canc
|
||||||
TRACE("(%p %d)\n", work, cancel);
|
TRACE("(%p %d)\n", work, cancel);
|
||||||
return WaitForThreadpoolWorkCallbacks(work, cancel);
|
return WaitForThreadpoolWorkCallbacks(work, cancel);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void __stdcall __std_atomic_notify_one_direct(void *addr)
|
||||||
|
{
|
||||||
|
TRACE("(%p)\n", addr);
|
||||||
|
WakeByAddressSingle(addr);
|
||||||
|
}
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
@ stub __std_atomic_has_cmpxchg16b
|
@ stub __std_atomic_has_cmpxchg16b
|
||||||
@ stub __std_atomic_notify_all_direct
|
@ stub __std_atomic_notify_all_direct
|
||||||
@ stub __std_atomic_notify_all_indirect
|
@ stub __std_atomic_notify_all_indirect
|
||||||
@ stub __std_atomic_notify_one_direct
|
@ stdcall __std_atomic_notify_one_direct(ptr)
|
||||||
@ stub __std_atomic_notify_one_indirect
|
@ stub __std_atomic_notify_one_indirect
|
||||||
@ stub __std_atomic_set_api_level
|
@ stub __std_atomic_set_api_level
|
||||||
@ stub __std_atomic_wait_direct
|
@ stub __std_atomic_wait_direct
|
||||||
|
|
Loading…
Reference in New Issue