From 4dade8fc54f663a0b47a3615c7224b78a2e7b0f1 Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 1 Feb 2007 13:05:02 +0000 Subject: Utilisateur : Fcolin Date : 19/02/01 Heure : 10:39 Archivé dans $/Ivy (vss 8) --- Bus/Ivy/ThreadedSocket.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Bus') 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; } -- cgit v1.1