summaryrefslogtreecommitdiff
path: root/Bus/Ivy/ThreadedSocket.cxx
diff options
context:
space:
mode:
authorfcolin2007-02-01 13:05:02 +0000
committerfcolin2007-02-01 13:05:02 +0000
commit4dade8fc54f663a0b47a3615c7224b78a2e7b0f1 (patch)
treed45516c61a43414b492882baec85c480b01ddc2d /Bus/Ivy/ThreadedSocket.cxx
parent448bc8dc724aadaf0e687689bf4f8c7a390bf070 (diff)
downloadivy-cplusplus-4dade8fc54f663a0b47a3615c7224b78a2e7b0f1.zip
ivy-cplusplus-4dade8fc54f663a0b47a3615c7224b78a2e7b0f1.tar.gz
ivy-cplusplus-4dade8fc54f663a0b47a3615c7224b78a2e7b0f1.tar.bz2
ivy-cplusplus-4dade8fc54f663a0b47a3615c7224b78a2e7b0f1.tar.xz
Utilisateur : Fcolin Date : 19/02/01 Heure : 10:39 Archivé dans $/Ivy (vss 8)
Diffstat (limited to 'Bus/Ivy/ThreadedSocket.cxx')
-rw-r--r--Bus/Ivy/ThreadedSocket.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/Bus/Ivy/ThreadedSocket.cxx b/Bus/Ivy/ThreadedSocket.cxx
index 4f94573..a9a1760 100644
--- a/Bus/Ivy/ThreadedSocket.cxx
+++ b/Bus/Ivy/ThreadedSocket.cxx
@@ -36,7 +36,7 @@ CThreadedSocket::~CThreadedSocket()
Close();
//if ( thread ) // On fait de l'auto delete mais dans le cas de terminaison anormale l'object reste ????!!!
// delete thread;
- TRACE("CThreadedSocket waiting for thread end ...\n");
+// TRACE("CThreadedSocket waiting for thread end ...\n");
if ( h_reader ) WaitForSingleObject( h_reader, INFINITE );
// wake up writer
if ( h_writer )
@@ -44,7 +44,7 @@ CThreadedSocket::~CThreadedSocket()
err = ReleaseSemaphore(send_count, 1, &PreviousCount);
WaitForSingleObject( h_writer, INFINITE );
}
- TRACE("CThreadedSocket all thread ended\n");
+// TRACE("CThreadedSocket all thread ended\n");
}
int CThreadedSocket::Create(UINT nSocketPort, int nSocketType, const char * lpszSocketAddress)
{
@@ -354,7 +354,7 @@ bool CThreadedSocket::SignalWriter()
long PreviousCount = 0;
int err;
err = ReleaseSemaphore(send_count, 1, &PreviousCount);
- TRACE("CThreadedSocket::SignalWriter() PreviousCount = %ld \n", PreviousCount );
+// TRACE("CThreadedSocket::SignalWriter() PreviousCount = %ld \n", PreviousCount );
return (err != 0);
}
@@ -454,7 +454,7 @@ UINT CThreadedSocket::SocketReader( )
if (m_hSocket != INVALID_SOCKET)
Close();
h_reader = NULL;
- TRACE( "CThreadedSocket::SocketReader( END thread_id =( 0x%x) )\n",reader_id);
+// TRACE( "CThreadedSocket::SocketReader( END thread_id =( 0x%x) )\n",reader_id);
return 0;
}
@@ -525,7 +525,7 @@ UINT CThreadedSocket::SocketWriter( )
}
Close();
h_writer = NULL;
- TRACE( "CThreadedSocket::SocketWriter( END thread_id =( 0x%x) )\n",writer_id);
+// TRACE( "CThreadedSocket::SocketWriter( END thread_id =( 0x%x) )\n",writer_id);
return 0;
}