summaryrefslogtreecommitdiff
path: root/Ivy/ThreadedSocket.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Ivy/ThreadedSocket.cxx')
-rw-r--r--Ivy/ThreadedSocket.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/Ivy/ThreadedSocket.cxx b/Ivy/ThreadedSocket.cxx
index 4f94573..a9a1760 100644
--- a/Ivy/ThreadedSocket.cxx
+++ b/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;
}