fixed gcc 3.4 issue

This commit is contained in:
Jeff Hill
2004-07-07 14:58:10 +00:00
parent 05dad621be
commit 0ca4281952
2 changed files with 15 additions and 6 deletions
+8
View File
@@ -59,6 +59,10 @@ void tcpSendThread::start ()
this->thread.start ();
}
void tcpSendThread::show ( unsigned /* level */ ) const
{
}
void tcpSendThread::exitWait ()
{
this->thread.exitWait ();
@@ -367,6 +371,10 @@ void tcpRecvThread::start ()
this->thread.start ();
}
void tcpRecvThread::show ( unsigned /* level */ ) const
{
}
bool tcpRecvThread::exitWait ( double delay )
{
return this->thread.exitWait ( delay );
+7 -6
View File
@@ -55,7 +55,7 @@ struct caHdrLargeArray {
class hostNameCache;
class ipAddrToAsciiEngine;
class tcpRecvThread : public epicsThreadRunable {
class tcpRecvThread : private epicsThreadRunable {
public:
tcpRecvThread (
class tcpiiu & iiuIn, epicsMutex & cbMutexIn, cacContextNotify &,
@@ -65,6 +65,7 @@ public:
void exitWait ();
bool exitWait ( double delay );
void interruptSocketRecv ();
void show ( unsigned level ) const;
private:
epicsThread thread;
class tcpiiu & iiu;
@@ -74,7 +75,7 @@ private:
void connect ();
};
class tcpSendThread : public epicsThreadRunable {
class tcpSendThread : private epicsThreadRunable {
public:
tcpSendThread (
class tcpiiu & iiuIn, const char * pName,
@@ -83,7 +84,8 @@ public:
void start ();
void exitWait ();
void exitWaitRelease ();
void interruptSocketSend ();
void interruptSocketSend ();
void show ( unsigned level ) const;
private:
epicsThread thread;
class tcpiiu & iiu;
@@ -287,9 +289,8 @@ private:
bool flush (
epicsGuard < epicsMutex > & ); // only to be called by the send thread
friend void tcpRecvThread::run ();
friend void tcpRecvThread::connect ();
friend void tcpSendThread::run ();
friend class tcpRecvThread;
friend class tcpSendThread;
tcpiiu ( const tcpiiu & );
tcpiiu & operator = ( const tcpiiu & );