libcvd-members
[Top][All Lists]
Advanced

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

[libcvd-members] libcvd build/vc2008/libcvd.vcproj cvd_src/threa...


From: Gerhard Reitmayr
Subject: [libcvd-members] libcvd build/vc2008/libcvd.vcproj cvd_src/threa...
Date: Tue, 15 Dec 2009 19:53:15 +0000

CVSROOT:        /cvsroot/libcvd
Module name:    libcvd
Changes by:     Gerhard Reitmayr <gerhard>      09/12/15 19:53:15

Modified files:
        build/vc2008   : libcvd.vcproj 
        cvd_src        : thread.cpp 

Log message:
        fix to project file
        Thread::sleep for Win32

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/libcvd/build/vc2008/libcvd.vcproj?cvsroot=libcvd&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/libcvd/cvd_src/thread.cpp?cvsroot=libcvd&r1=1.3&r2=1.4

Patches:
Index: build/vc2008/libcvd.vcproj
===================================================================
RCS file: /cvsroot/libcvd/libcvd/build/vc2008/libcvd.vcproj,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- build/vc2008/libcvd.vcproj  5 Aug 2009 14:59:09 -0000       1.4
+++ build/vc2008/libcvd.vcproj  15 Dec 2009 19:53:14 -0000      1.5
@@ -414,28 +414,6 @@
                                        </FileConfiguration>
                                </File>
                                <File
-                                       
RelativePath="..\..\cvd_src\noarch\gradient.cc"
-                                       >
-                                       <FileConfiguration
-                                               Name="Debug|Win32"
-                                               >
-                                               <Tool
-                                                       Name="VCCLCompilerTool"
-                                                       
ObjectFile="$(IntDir)\$(InputName)1.obj"
-                                                       
XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
-                                               />
-                                       </FileConfiguration>
-                                       <FileConfiguration
-                                               Name="Release|Win32"
-                                               >
-                                               <Tool
-                                                       Name="VCCLCompilerTool"
-                                                       
ObjectFile="$(IntDir)\$(InputName)1.obj"
-                                                       
XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
-                                               />
-                                       </FileConfiguration>
-                               </File>
-                               <File
                                        
RelativePath="..\..\cvd_src\noarch\median_3x3.cc"
                                        >
                                        <FileConfiguration

Index: cvd_src/thread.cpp
===================================================================
RCS file: /cvsroot/libcvd/libcvd/cvd_src/thread.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- cvd_src/thread.cpp  12 Jun 2008 13:04:14 -0000      1.3
+++ cvd_src/thread.cpp  15 Dec 2009 19:53:14 -0000      1.4
@@ -96,8 +96,10 @@
   pthread_yield();
 #elif defined(CVD_HAVE_PTHREAD_YIELD_NP)
   pthread_yield_np();
+#elif defined(WIN32)
+       Sleep(0);
 #else
-//#warning "Thread::yield() not implemented"
+#warning "Thread::yield() not implemented"
 #endif
 }
 




reply via email to

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