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

@@ -15,16 +15,16 @@
*/
#define epicsExportSharedSymbols
#include "osiThread.h"
#include "epicsThread.h"
#include "ipAddrToAsciiAsynchronous.h"
epicsMutex ipAddrToAsciiEngine::mutex;
ipAddrToAsciiEngine::ipAddrToAsciiEngine ( const char *pName ) :
osiThread ( pName, 0x1000, threadPriorityLow ), nextId ( 0u ),
exitFlag ( false )
thread(*(new epicsThread(*this,pName,0x1000,epicsThreadPriorityLow))),
nextId ( 0u ), exitFlag ( false )
{
this->start (); // start the thread
this->thread.start (); // start the thread
}
ipAddrToAsciiEngine::~ipAddrToAsciiEngine ()
@@ -44,9 +44,10 @@ ipAddrToAsciiEngine::~ipAddrToAsciiEngine ()
pItem->ioCompletionNotify ( this->nameTmp );
}
ipAddrToAsciiEngine::mutex.unlock ();
delete &thread;
}
void ipAddrToAsciiEngine::entryPoint ()
void ipAddrToAsciiEngine::run ()
{
osiSockAddr addr;
unsigned tmpId;