vcomp: Better stubs for omp_get_dynamic, omp_set_dynamic.

This commit is contained in:
Dan Kegel 2012-09-29 20:20:39 -07:00 committed by Alexandre Julliard
parent ed23241733
commit d58ade2d42
2 changed files with 13 additions and 2 deletions

View File

@ -29,6 +29,12 @@
WINE_DEFAULT_DEBUG_CHANNEL(vcomp);
int CDECL omp_get_dynamic(void)
{
TRACE("stub\n");
return 0;
}
int CDECL omp_get_max_threads(void)
{
TRACE("stub\n");
@ -53,6 +59,11 @@ double CDECL omp_get_wtime(void)
return GetTickCount() / 1000.0;
}
void CDECL omp_set_dynamic(int val)
{
TRACE("(%d): stub\n", val);
}
void CDECL omp_set_num_threads(int num_threads)
{
TRACE("(%d): stub\n", num_threads);

View File

@ -90,7 +90,7 @@
@ stub _vcomp_single_end
@ stub omp_destroy_lock
@ stub omp_destroy_nest_lock
@ stub omp_get_dynamic
@ cdecl omp_get_dynamic()
@ cdecl omp_get_max_threads()
@ stub omp_get_nested
@ cdecl omp_get_num_procs()
@ -101,7 +101,7 @@
@ stub omp_in_parallel
@ stub omp_init_lock
@ stub omp_init_nest_lock
@ stub omp_set_dynamic
@ cdecl omp_set_dynamic(long)
@ stub omp_set_lock
@ stub omp_set_nest_lock
@ stub omp_set_nested