vcomp: Better stub for omp_get_thread_num.

This commit is contained in:
Dan Kegel 2012-09-29 20:20:41 -07:00 committed by Alexandre Julliard
parent 15b59d75c6
commit d0955b1bd6
2 changed files with 7 additions and 1 deletions

View File

@ -59,6 +59,12 @@ int CDECL omp_get_num_threads(void)
return 1; return 1;
} }
int CDECL omp_get_thread_num(void)
{
TRACE("stub\n");
return 0;
}
/* Time in seconds since "some time in the past" */ /* Time in seconds since "some time in the past" */
double CDECL omp_get_wtime(void) double CDECL omp_get_wtime(void)
{ {

View File

@ -95,7 +95,7 @@
@ cdecl omp_get_nested() @ cdecl omp_get_nested()
@ cdecl omp_get_num_procs() @ cdecl omp_get_num_procs()
@ cdecl omp_get_num_threads() @ cdecl omp_get_num_threads()
@ stub omp_get_thread_num @ cdecl omp_get_thread_num()
@ stub omp_get_wtick @ stub omp_get_wtick
@ cdecl omp_get_wtime() @ cdecl omp_get_wtime()
@ stub omp_in_parallel @ stub omp_in_parallel