msvcp140: Add _Cnd_destroy_in_situ implementation.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Piotr Caban 2016-09-28 07:24:00 +02:00 committed by Alexandre Julliard
parent 89f2dafe50
commit 42cfb0ab0e
2 changed files with 12 additions and 7 deletions

View File

@ -3621,17 +3621,17 @@
@ cdecl -arch=win64 ?xsputn@?$basic_streambuf@_WU?$char_traits@_W@std@@@std@@MEAA_JPEB_W_J@Z(ptr ptr long) basic_streambuf_wchar_xsputn
@ stub _Chmod
@ stub _Close_dir
@ cdecl _Cnd_broadcast(ptr) _Cnd_broadcast
@ cdecl _Cnd_destroy(ptr) _Cnd_destroy
@ stub _Cnd_destroy_in_situ
@ cdecl _Cnd_broadcast(ptr)
@ cdecl _Cnd_destroy(ptr)
@ cdecl _Cnd_destroy_in_situ(ptr)
@ cdecl _Cnd_do_broadcast_at_thread_exit()
@ cdecl _Cnd_init(ptr) _Cnd_init
@ cdecl _Cnd_init(ptr)
@ cdecl _Cnd_init_in_situ(ptr)
@ cdecl _Cnd_register_at_thread_exit(ptr ptr ptr)
@ cdecl _Cnd_signal(ptr) _Cnd_signal
@ cdecl _Cnd_timedwait(ptr ptr ptr) _Cnd_timedwait
@ cdecl _Cnd_signal(ptr)
@ cdecl _Cnd_timedwait(ptr ptr ptr)
@ cdecl _Cnd_unregister_at_thread_exit(ptr)
@ cdecl _Cnd_wait(ptr ptr) _Cnd_wait
@ cdecl _Cnd_wait(ptr ptr)
@ stub _Copy_file
@ stub _Cosh
@ stub _Current_get

View File

@ -655,6 +655,11 @@ int __cdecl _Cnd_signal(_Cnd_arg_t cnd)
return 0;
}
void __cdecl _Cnd_destroy_in_situ(_Cnd_t cnd)
{
_Cnd_broadcast(CND_T_TO_ARG(cnd));
}
void __cdecl _Cnd_destroy(_Cnd_arg_t cnd)
{
if(cnd) {