changes for osiThread=>epicsThread

This commit is contained in:
Marty Kraimer
2001-01-18 19:08:14 +00:00
parent 4c247070aa
commit dbe9c8e75f
85 changed files with 1163 additions and 1126 deletions

View File

@@ -20,24 +20,26 @@
#include "cac_IL.h"
recvProcessThread::recvProcessThread (cac *pcacIn) :
osiThread ( "CAC-recv-process", threadGetStackSize (threadStackSmall),
pcacIn->getInitializingThreadsPriority () ),
thread(*this, "CAC-recv-process",
epicsThreadGetStackSize(epicsThreadStackSmall),
pcacIn->getInitializingThreadsPriority() ),
pcac ( pcacIn ),
enableRefCount ( 0u ),
blockingForCompletion ( 0u ),
processing ( false ),
shutDown ( false )
{
this->start ();
this->thread.start ();
}
recvProcessThread::~recvProcessThread ()
{
this->signalShutDown ();
this->exit.wait ();
delete &thread;
}
void recvProcessThread::entryPoint ()
void recvProcessThread::run ()
{
int status = ca_attach_context ( this->pcac );
SEVCHK ( status, "attaching to client context in recv process thread" );