Dan Kegel : vcomp: Better stub for omp_set_num_threads.

Alexandre Julliard julliard at winehq.org
Tue Oct 2 14:09:39 CDT 2012


Module: wine
Branch: master
Commit: 54a10eb1aa0bb0fe46a205a67de2b39eb82a17ae
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=54a10eb1aa0bb0fe46a205a67de2b39eb82a17ae

Author: Dan Kegel <dank at kegel.com>
Date:   Sat Sep 29 20:20:37 2012 -0700

vcomp: Better stub for omp_set_num_threads.

---

 dlls/vcomp/main.c     |    5 +++++
 dlls/vcomp/vcomp.spec |    2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/dlls/vcomp/main.c b/dlls/vcomp/main.c
index 170bd43..a369af1 100644
--- a/dlls/vcomp/main.c
+++ b/dlls/vcomp/main.c
@@ -47,6 +47,11 @@ double CDECL omp_get_wtime(void)
     return GetTickCount() / 1000.0;
 }
 
+void CDECL omp_set_num_threads(int num_threads)
+{
+    TRACE("(%d): stub\n", num_threads);
+}
+
 void CDECL _vcomp_set_num_threads(int num_threads)
 {
     TRACE("(%d): stub\n", num_threads);
diff --git a/dlls/vcomp/vcomp.spec b/dlls/vcomp/vcomp.spec
index e53a475..cca56f1 100644
--- a/dlls/vcomp/vcomp.spec
+++ b/dlls/vcomp/vcomp.spec
@@ -105,7 +105,7 @@
 @ stub omp_set_lock
 @ stub omp_set_nest_lock
 @ stub omp_set_nested
-@ stub omp_set_num_threads
+@ cdecl omp_set_num_threads(long)
 @ stub omp_test_lock
 @ stub omp_test_nest_lock
 @ stub omp_unset_lock




More information about the wine-cvs mailing list