certi-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[certi-cvs] applications/HLA_TestsSuite create_destroy.cc t...


From: certi-cvs
Subject: [certi-cvs] applications/HLA_TestsSuite create_destroy.cc t...
Date: Mon, 30 Jun 2008 13:35:20 +0000

CVSROOT:        /sources/certi
Module name:    applications
Changes by:     ROUSSELOT <rousse>      08/06/30 13:35:20

Modified files:
        HLA_TestsSuite : create_destroy.cc test_HugeAVPV.cc test_Sync.cc 

Log message:
        sleep on Windows 

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/applications/HLA_TestsSuite/create_destroy.cc?cvsroot=certi&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/applications/HLA_TestsSuite/test_HugeAVPV.cc?cvsroot=certi&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/applications/HLA_TestsSuite/test_Sync.cc?cvsroot=certi&r1=1.2&r2=1.3

Patches:
Index: create_destroy.cc
===================================================================
RCS file: /sources/certi/applications/HLA_TestsSuite/create_destroy.cc,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- create_destroy.cc   28 Jun 2008 17:12:53 -0000      1.8
+++ create_destroy.cc   30 Jun 2008 13:35:20 -0000      1.9
@@ -1,6 +1,13 @@
 #include "create_destroy.hh"
 #include <stdlib.h>
 
+#if defined(_WIN32)    
+    #include <windows.h>
+    #include <algorithm>       
+    #include <process.h>
+    #define    sleep(a)              Sleep(a * 1000)
+#endif
+
 class Create_Destroy : public RTI::RTIambassador, public NullFederateAmbassador
 {
 public:

Index: test_HugeAVPV.cc
===================================================================
RCS file: /sources/certi/applications/HLA_TestsSuite/test_HugeAVPV.cc,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- test_HugeAVPV.cc    28 Jun 2008 17:12:53 -0000      1.2
+++ test_HugeAVPV.cc    30 Jun 2008 13:35:20 -0000      1.3
@@ -8,6 +8,13 @@
 #include <string>
 #include <stdlib.h>
 
+#if defined(_WIN32)    
+    #include <windows.h>
+    #include <algorithm>       
+    #include <process.h>
+    #define    sleep(a)              Sleep(a * 1000)
+#endif
+
 using std::string;
 using std::cout;
 using std::cerr;

Index: test_Sync.cc
===================================================================
RCS file: /sources/certi/applications/HLA_TestsSuite/test_Sync.cc,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- test_Sync.cc        28 Jun 2008 17:12:53 -0000      1.2
+++ test_Sync.cc        30 Jun 2008 13:35:20 -0000      1.3
@@ -8,6 +8,13 @@
 #include <string>
 #include <stdlib.h>
 
+#if defined(_WIN32)    
+    #include <windows.h>
+    #include <algorithm>       
+    #include <process.h>
+    #define    sleep(a)              Sleep(a * 1000)
+#endif
+
 using std::string;
 using std::cout;
 using std::cerr;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]