1
0
mirror of https://github.com/wine-mirror/wine synced 2024-06-29 06:14:34 +00:00

msvcp140_atomic_wait: Implement __std_*_crt().

OpenImageViewer calls these functions when triggering the image
properties menu.
This commit is contained in:
Aida Jonikienė 2024-05-02 02:02:36 +03:00 committed by Alexandre Julliard
parent 89ad36b1d9
commit efce36004d
2 changed files with 12 additions and 2 deletions

View File

@ -165,3 +165,13 @@ void __stdcall __std_release_shared_mutex_for_instance(void *ptr)
}
LeaveCriticalSection(&shared_mutex_cs);
}
void* __stdcall __std_calloc_crt(size_t count, size_t size)
{
return calloc(count, size);
}
void __stdcall __std_free_crt(void *ptr)
{
free(ptr);
}

View File

@ -12,12 +12,12 @@
@ stub __std_atomic_wait_get_remaining_timeout
@ stub __std_atomic_wait_indirect
@ stdcall __std_bulk_submit_threadpool_work(ptr long)
@ stub __std_calloc_crt
@ stdcall __std_calloc_crt(long long)
@ stdcall __std_close_threadpool_work(ptr)
@ stdcall __std_create_threadpool_work(ptr ptr ptr)
@ stub __std_execution_wait_on_uchar
@ stub __std_execution_wake_by_address_all
@ stub __std_free_crt
@ stdcall __std_free_crt(ptr)
@ stdcall __std_parallel_algorithms_hw_threads()
@ stdcall __std_release_shared_mutex_for_instance(ptr)
@ stdcall __std_submit_threadpool_work(ptr)