[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[certi-cvs] certi/libHLA SHMWin32.cc SemaphoreWin32.hh Sema...
From: |
CERTI CVS commits |
Subject: |
[certi-cvs] certi/libHLA SHMWin32.cc SemaphoreWin32.hh Sema... |
Date: |
Mon, 03 Oct 2011 06:53:32 +0000 |
CVSROOT: /sources/certi
Module name: certi
Changes by: Eric NOULARD <erk> 11/10/03 06:53:32
Modified files:
libHLA : SHMWin32.cc SemaphoreWin32.hh SemaphoreWin32.cc
Log message:
Suppress Warning due to WINAPI misuse
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/certi/libHLA/SHMWin32.cc?cvsroot=certi&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/certi/libHLA/SemaphoreWin32.hh?cvsroot=certi&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/certi/libHLA/SemaphoreWin32.cc?cvsroot=certi&r1=1.2&r2=1.3
Patches:
Index: SHMWin32.cc
===================================================================
RCS file: /sources/certi/certi/libHLA/SHMWin32.cc,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- SHMWin32.cc 28 Mar 2010 12:24:00 -0000 1.2
+++ SHMWin32.cc 3 Oct 2011 06:53:31 -0000 1.3
@@ -61,7 +61,7 @@
// ************************************************
void SHMWin32::Attach() throw(SharedMemoryNotAttached) {
-BOOL WINAPI retcode ;
+BOOL retcode ;
_pBuf = (LPTSTR) MapViewOfFile(_hMapFile,
FILE_MAP_ALL_ACCESS, // read/write permission
@@ -85,7 +85,7 @@
void SHMWin32::Close() throw(SharedMemoryNotClosed,
HandleNotClosed) {
-BOOL WINAPI retcode ;
+BOOL retcode ;
// Unmap
retcode=UnmapViewOfFile((PVOID)_pBuf);
Index: SemaphoreWin32.hh
===================================================================
RCS file: /sources/certi/certi/libHLA/SemaphoreWin32.hh,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- SemaphoreWin32.hh 28 Mar 2010 12:24:00 -0000 1.2
+++ SemaphoreWin32.hh 3 Oct 2011 06:53:31 -0000 1.3
@@ -20,7 +20,7 @@
class HLA_EXPORT SemaphoreWin32 : public Semaphore {
private :
- HANDLE WINAPI _hSemaphore;
+ HANDLE _hSemaphore;
public :
SemaphoreWin32() ;
Index: SemaphoreWin32.cc
===================================================================
RCS file: /sources/certi/certi/libHLA/SemaphoreWin32.cc,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- SemaphoreWin32.cc 28 Mar 2010 12:36:32 -0000 1.2
+++ SemaphoreWin32.cc 3 Oct 2011 06:53:31 -0000 1.3
@@ -70,7 +70,7 @@
std::cout << "Begin of Operation P for the semaphore identified by handle : "
<< _hSemaphore << std::endl ;
#endif
-DWORD WINAPI dwRetCode;
+DWORD dwRetCode;
dwRetCode = WaitForSingleObject(
(HANDLE)_hSemaphore, // handle to semaphore
@@ -107,7 +107,7 @@
std::cout << "Begin of Operation V for the semaphore identified by handle : "
<< _hSemaphore << std::endl ;
#endif
-BOOL WINAPI retcode ;
+BOOL retcode ;
retcode = ReleaseSemaphore(
_hSemaphore, // handle to semaphore
@@ -130,7 +130,7 @@
void SemaphoreWin32::Delete()
throw(HandleNotClosed) {
-BOOL WINAPI retcode ;
+BOOL retcode ;
#ifdef DEBUG
std::cout << "Destroy the semaphore identified by handle : " << _hSemaphore <<
std::endl ;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [certi-cvs] certi/libHLA SHMWin32.cc SemaphoreWin32.hh Sema...,
CERTI CVS commits <=