vcomp: Better stub for _vcomp_set_num_threads.

This commit is contained in:
Dan Kegel 2012-09-05 19:05:54 -07:00 committed by Alexandre Julliard
parent 8e9e82f41e
commit e45b5f556a
2 changed files with 6 additions and 1 deletions

View File

@ -41,6 +41,11 @@ double CDECL omp_get_wtime(void)
return GetTickCount() / 1000.0; return GetTickCount() / 1000.0;
} }
void CDECL _vcomp_set_num_threads(int num_threads)
{
TRACE("(%d): stub\n", num_threads);
}
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{ {
TRACE("(0x%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved); TRACE("(0x%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved);

View File

@ -85,7 +85,7 @@
@ stub _vcomp_reduction_u8 @ stub _vcomp_reduction_u8
@ stub _vcomp_sections_init @ stub _vcomp_sections_init
@ stub _vcomp_sections_next @ stub _vcomp_sections_next
@ stub _vcomp_set_num_threads @ cdecl _vcomp_set_num_threads(long)
@ stub _vcomp_single_begin @ stub _vcomp_single_begin
@ stub _vcomp_single_end @ stub _vcomp_single_end
@ stub omp_destroy_lock @ stub omp_destroy_lock