[mpich2-commits] r5418 - mpich2/trunk

jayesh at mcs.anl.gov jayesh at mcs.anl.gov
Wed Oct 7 10:37:38 CDT 2009


Author: jayesh
Date: 2009-10-07 10:37:38 -0500 (Wed, 07 Oct 2009)
New Revision: 5418

Modified:
   mpich2/trunk/winconfigure.wsf
Log:
Handle the unhandled OPA defns on windows - added in r5395

Modified: mpich2/trunk/winconfigure.wsf
===================================================================
--- mpich2/trunk/winconfigure.wsf	2009-10-07 04:44:37 UTC (rev 5417)
+++ mpich2/trunk/winconfigure.wsf	2009-10-07 15:37:38 UTC (rev 5418)
@@ -2098,8 +2098,14 @@
                 fout.WriteLine("/* #undef HAVE_MEMORY_H */")
             Case "HAVE_NT_INTRINSICS"
                 fout.WriteLine("#define OPA_HAVE_NT_INTRINSICS 1")
+            Case "USE_UNSAFE_PRIMITIVES"
+                fout.WriteLine("/* #undef USE_UNSAFE_PRIMITIVES */")
             Case "HAVE_PTHREAD_H"
                 fout.WriteLine("/* #undef HAVE_PTHREAD_H */")
+            Case "HAVE_PTHREAD_YIELD"
+                fout.WriteLine("/* #undef HAVE_PTHREAD_YIELD */")
+            Case "HAVE_SCHED_YIELD"
+                fout.WriteLine("/* #undef HAVE_SCHED_YIELD */")
             Case "HAVE_STDINT_H"
                 fout.WriteLine("/* #undef HAVE_STDINT_H */")
             Case "HAVE_STDLIB_H"
@@ -2120,8 +2126,15 @@
                 fout.WriteLine("/* #undef HAVE_UNISTD_H */")
             Case "LIMIT_THREADS"
                 fout.WriteLine("/* #undef LIMIT_THREADS */")
+            ' Just using the default value in the unix build for max nthreads
+            Case "MAX_NTHREADS"
+                fout.WriteLine("#define MAX_NTHREADS 100")
             Case "NDEBUG"
                 fout.WriteLine("/* #undef NDEBUG */")
+            ' By default allow threads to yield
+            ' FIXME: However OPA_TEST_YIELD() is not defined on windows...
+            Case "HAVE_STRICT_FAIRNESS_CHECKS"
+                fout.WriteLine("/* #undef HAVE_STRICT_FAIRNESS_CHECKS */")
             Case "PACKAGE"
                 fout.WriteLine("#define OPA_PACKAGE ""openpa""")
             Case "PACKAGE_TARNAME"



More information about the mpich2-commits mailing list