[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[certi-cvs] certi/libCERTI SocketSHMWin32.cc
From: |
certi-cvs |
Subject: |
[certi-cvs] certi/libCERTI SocketSHMWin32.cc |
Date: |
Sun, 04 Apr 2010 13:28:29 +0000 |
CVSROOT: /sources/certi
Module name: certi
Changes by: Petr Gotthard <gotthardp> 10/04/04 13:28:28
Modified files:
libCERTI : SocketSHMWin32.cc
Log message:
Fixed Windows build errors.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/certi/libCERTI/SocketSHMWin32.cc?cvsroot=certi&r1=1.3&r2=1.4
Patches:
Index: SocketSHMWin32.cc
===================================================================
RCS file: /sources/certi/certi/libCERTI/SocketSHMWin32.cc,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- SocketSHMWin32.cc 28 Mar 2010 12:36:32 -0000 1.3
+++ SocketSHMWin32.cc 4 Apr 2010 13:28:28 -0000 1.4
@@ -58,7 +58,7 @@
try {
_Sem_full_SC->Create_Init(init_full,
Semaphore::buildSemName(Socket_Name+"_FULL_SC")) ;
}
- catch(certi::SemaphoreNotCreated& e)
+ catch(Semaphore::SemaphoreNotCreated& e)
{
std::cout << "SocketSHMWin32() Exception. " << "Name is : " <<
e._name << " Reason is : " << e._reason << std::endl ;
throw (certi::SocketSHMNotCreated("SocketSHMWin32() failed.")) ;
@@ -66,7 +66,7 @@
try {
_Sem_empty_SC->Create_Init(init_empty,
Semaphore::buildSemName(Socket_Name+"_EMPTY_SC")) ;
}
- catch(certi::SemaphoreNotCreated& e)
+ catch(Semaphore::SemaphoreNotCreated& e)
{
std::cout << "SocketSHMWin32() Exception. " << "Name is : " <<
e._name << " Reason is : " << e._reason << std::endl ;
throw (certi::SocketSHMNotCreated("SocketSHMWin32() failed.")) ;
@@ -76,7 +76,7 @@
try {
_Sem_full_CS->Create_Init(init_full,
Semaphore::buildSemName(Socket_Name+"_FULL_CS")) ;
}
- catch(certi::SemaphoreNotCreated& e)
+ catch(Semaphore::SemaphoreNotCreated& e)
{
std::cout << "SocketSHMWin32() Exception. " << "Name is : " <<
e._name << " Reason is : " << e._reason << std::endl ;
throw (certi::SocketSHMNotCreated("SocketSHMWin32() failed.")) ;
@@ -84,7 +84,7 @@
try {
_Sem_empty_CS->Create_Init(init_empty,
Semaphore::buildSemName(Socket_Name+"_EMPTY_CS")) ;
}
- catch(certi::SemaphoreNotCreated& e)
+ catch(Semaphore::SemaphoreNotCreated& e)
{
std::cout << "SocketSHMWin32() Exception. " << "Name is : " <<
e._name << " Reason is : " << e._reason << std::endl ;
throw (certi::SocketSHMNotCreated("SocketSHMWin32() failed.")) ;
@@ -103,7 +103,7 @@
try {
_Sem_full_SC->Delete() ;
}
- catch(certi::HandleNotClosed& e)
+ catch(Semaphore::HandleNotClosed& e)
{
std::cout << "~SocketSHMWin32() Exception. " << "Name is : " <<
e._name << " Reason is : " << e._reason << std::endl ;
throw (certi::SocketSHMNotDeleted("~SocketSHMWin32() failed.")) ;
@@ -111,7 +111,7 @@
try {
_Sem_empty_SC->Delete() ;
}
- catch(certi::HandleNotClosed& e)
+ catch(Semaphore::HandleNotClosed& e)
{
std::cout << "~SocketSHMWin32() Exception. " << "Name is : " <<
e._name << " Reason is : " << e._reason << std::endl ;
throw (certi::SocketSHMNotDeleted("~SocketSHMWin32() failed.")) ;
@@ -121,7 +121,7 @@
try {
_Sem_full_CS->Delete() ;
}
- catch(certi::HandleNotClosed& e)
+ catch(Semaphore::HandleNotClosed& e)
{
std::cout << "~SocketSHMWin32() Exception. " << "Name is : " <<
e._name << " Reason is : " << e._reason << std::endl ;
throw (certi::SocketSHMNotDeleted("~SocketSHMWin32() failed.")) ;
@@ -129,7 +129,7 @@
try {
_Sem_empty_CS->Delete() ;
}
- catch(certi::HandleNotClosed& e)
+ catch(Semaphore::HandleNotClosed& e)
{
std::cout << "~SocketSHMWin32() Exception. " << "Name is : " <<
e._name << " Reason is : " << e._reason << std::endl ;
throw (certi::SocketSHMNotDeleted("~SocketSHMWin32() failed.")) ;
@@ -156,7 +156,7 @@
try {
_Sem_empty_SC->P() ;
}
- catch(certi::SemaphoreHandlingError& e)
+ catch(Semaphore::SemaphoreHandlingError& e)
{
std::cout << "SocketSHMWin32::Open() Exception. " << "Name is : " <<
e._name << " Reason is : " << e._reason << std::endl ;
throw (certi::SocketSHMNotOpen("SocketSHMWin32::Open() failed.")) ;
@@ -164,7 +164,7 @@
try {
_Shm_SC->Open() ;
}
- catch(certi::SharedMemoryNotOpen& e)
+ catch(SHM::SharedMemoryNotOpen& e)
{
std::cout << "SocketSHMWin32::Open() Exception. " << "Name is : " <<
e._name << " Reason is : " << e._reason << std::endl ;
throw (certi::SocketSHMNotOpen("SocketSHMWin32::Open() failed.")) ;
@@ -172,7 +172,7 @@
try {
_Shm_SC->Attach() ;
}
- catch(certi::SharedMemoryNotAttached& e)
+ catch(SHM::SharedMemoryNotAttached& e)
{
std::cout << "SocketSHMWin32::Open() Exception. " << "Name is : " <<
e._name << " Reason is : " << e._reason << std::endl ;
throw (certi::SocketSHMNotOpen("SocketSHMWin32::Open() failed.")) ;
@@ -180,7 +180,7 @@
try {
_Sem_full_SC->V() ;
}
- catch(certi::SemaphoreHandlingError& e)
+ catch(Semaphore::SemaphoreHandlingError& e)
{
std::cout << "SocketSHMWin32::Open() Exception. " << "Name is : " <<
e._name << " Reason is : " << e._reason << std::endl ;
throw (certi::SocketSHMNotOpen("SocketSHMWin32::Open() failed.")) ;
@@ -195,7 +195,7 @@
try {
_Sem_empty_CS->P() ;
}
- catch(certi::SemaphoreHandlingError& e)
+ catch(Semaphore::SemaphoreHandlingError& e)
{
std::cout << "SocketSHMWin32::Open() Exception. " << "Name is : " <<
e._name << " Reason is : " << e._reason << std::endl ;
throw (certi::SocketSHMNotOpen("SocketSHMWin32::Open() failed.")) ;
@@ -203,7 +203,7 @@
try {
_Shm_CS->Open() ;
}
- catch(certi::SharedMemoryNotOpen& e)
+ catch(SHM::SharedMemoryNotOpen& e)
{
std::cout << "SocketSHMWin32::Open() Exception. " << "Name is : " <<
e._name << " Reason is : " << e._reason << std::endl ;
throw (certi::SocketSHMNotOpen("SocketSHMWin32::Open() failed.")) ;
@@ -211,7 +211,7 @@
try {
_Shm_CS->Attach() ;
}
- catch(certi::SharedMemoryNotAttached& e)
+ catch(SHM::SharedMemoryNotAttached& e)
{
std::cout << "SocketSHMWin32::Open() Exception. " << "Name is : " <<
e._name << " Reason is : " << e._reason << std::endl ;
throw (certi::SocketSHMNotOpen("SocketSHMWin32::Open() failed.")) ;
@@ -219,7 +219,7 @@
try {
_Sem_full_CS->V() ;
}
- catch(certi::SemaphoreHandlingError& e)
+ catch(Semaphore::SemaphoreHandlingError& e)
{
std::cout << "SocketSHMWin32::Open() Exception. " << "Name is : " <<
e._name << " Reason is : " << e._reason << std::endl ;
throw (certi::SocketSHMNotOpen("SocketSHMWin32::Open() failed.")) ;
@@ -234,7 +234,7 @@
try {
_Sem_full_SC->P() ;
}
- catch(certi::SemaphoreHandlingError& e)
+ catch(Semaphore::SemaphoreHandlingError& e)
{
std::cout << "SocketSHMWin32::Open() Exception. " << "Name is : " <<
e._name << " Reason is : " << e._reason << std::endl ;
throw (certi::SocketSHMNotOpen("SocketSHMWin32::Open() failed.")) ;
@@ -242,7 +242,7 @@
try {
_Shm_SC->Open() ;
}
- catch(certi::SharedMemoryNotOpen& e)
+ catch(SHM::SharedMemoryNotOpen& e)
{
std::cout << "SocketSHMWin32::Open() Exception. " << "Name is : " <<
e._name << " Reason is : " << e._reason << std::endl ;
throw (certi::SocketSHMNotOpen("SocketSHMWin32::Open() failed.")) ;
@@ -250,7 +250,7 @@
try {
_Shm_SC->Attach() ;
}
- catch(certi::SharedMemoryNotAttached& e)
+ catch(SHM::SharedMemoryNotAttached& e)
{
std::cout << "SocketSHMWin32::Open() Exception. " << "Name is : " <<
e._name << " Reason is : " << e._reason << std::endl ;
throw (certi::SocketSHMNotOpen("SocketSHMWin32::Open() failed.")) ;
@@ -258,7 +258,7 @@
try {
_Sem_empty_SC->V() ;
}
- catch(certi::SemaphoreHandlingError& e)
+ catch(Semaphore::SemaphoreHandlingError& e)
{
std::cout << "SocketSHMWin32::Open() Exception. " << "Name is : " <<
e._name << " Reason is : " << e._reason << std::endl ;
throw (certi::SocketSHMNotOpen("SocketSHMWin32::Open() failed.")) ;
@@ -273,7 +273,7 @@
try {
_Sem_full_CS->P() ;
}
- catch(certi::SemaphoreHandlingError& e)
+ catch(Semaphore::SemaphoreHandlingError& e)
{
std::cout << "SocketSHMWin32::Open() Exception. " << "Name is : " <<
e._name << " Reason is : " << e._reason << std::endl ;
throw (certi::SocketSHMNotOpen("SocketSHMWin32::Open() failed.")) ;
@@ -281,7 +281,7 @@
try {
_Shm_CS->Open() ;
}
- catch(certi::SharedMemoryNotOpen& e)
+ catch(SHM::SharedMemoryNotOpen& e)
{
std::cout << "SocketSHMWin32::Open() Exception. " << "Name is : " <<
e._name << " Reason is : " << e._reason << std::endl ;
throw (certi::SocketSHMNotOpen("SocketSHMWin32::Open() failed.")) ;
@@ -289,7 +289,7 @@
try {
_Shm_CS->Attach() ;
}
- catch(certi::SharedMemoryNotAttached& e)
+ catch(SHM::SharedMemoryNotAttached& e)
{
std::cout << "SocketSHMWin32::Open() Exception. " << "Name is : " <<
e._name << " Reason is : " << e._reason << std::endl ;
throw (certi::SocketSHMNotOpen("SocketSHMWin32::Open() failed.")) ;
@@ -297,7 +297,7 @@
try {
_Sem_empty_CS->V() ;
}
- catch(certi::SemaphoreHandlingError& e)
+ catch(Semaphore::SemaphoreHandlingError& e)
{
std::cout << "SocketSHMWin32::Open() Exception. " << "Name is : " <<
e._name << " Reason is : " << e._reason << std::endl ;
throw (certi::SocketSHMNotOpen("SocketSHMWin32::Open() failed.")) ;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [certi-cvs] certi/libCERTI SocketSHMWin32.cc,
certi-cvs <=