always epicsThreadStackBig

on RTEMS at least, c++ code needs the largest standard
stack frame size.
This commit is contained in:
Michael Davidsaver
2019-07-08 09:08:05 -07:00
parent 3a8a24deb3
commit e0dc94a91d
8 changed files with 9 additions and 9 deletions

View File

@ -48,7 +48,7 @@ void GetDoneThread::start()
thread = std::tr1::shared_ptr<epicsThread>(new epicsThread(
*this,
"getDoneThread",
epicsThreadGetStackSize(epicsThreadStackSmall),
epicsThreadGetStackSize(epicsThreadStackBig),
epicsThreadPriorityLow));
thread->start();
}

View File

@ -47,7 +47,7 @@ void MonitorEventThread::start()
thread = std::tr1::shared_ptr<epicsThread>(new epicsThread(
*this,
"monitorEventThread",
epicsThreadGetStackSize(epicsThreadStackSmall),
epicsThreadGetStackSize(epicsThreadStackBig),
epicsThreadPriorityLow));
thread->start();
}

View File

@ -48,7 +48,7 @@ void PutDoneThread::start()
thread = std::tr1::shared_ptr<epicsThread>(new epicsThread(
*this,
"putDoneThread",
epicsThreadGetStackSize(epicsThreadStackSmall),
epicsThreadGetStackSize(epicsThreadStackBig),
epicsThreadPriorityLow));
thread->start();
}

View File

@ -36,7 +36,7 @@ BlockingTCPAcceptor::BlockingTCPAcceptor(
_destroyed(false),
_thread(*this, "TCP-acceptor",
epicsThreadGetStackSize(
epicsThreadStackMedium),
epicsThreadStackBig),
epicsThreadPriorityMedium)
{
memset(&_bindAddress, 0, sizeof(_bindAddress));
@ -57,7 +57,7 @@ BlockingTCPAcceptor::BlockingTCPAcceptor(Context::shared_pointer const & context
_destroyed(false),
_thread(*this, "TCP-acceptor",
epicsThreadGetStackSize(
epicsThreadStackMedium),
epicsThreadStackBig),
epicsThreadPriorityMedium)
{
_bindAddress = addr;

View File

@ -107,7 +107,7 @@ void BlockingUDPTransport::start() {
}
_thread.reset(new epicsThread(*this, threadName.c_str(),
epicsThreadGetStackSize(epicsThreadStackSmall),
epicsThreadGetStackSize(epicsThreadStackBig),
epicsThreadPriorityMedium));
_thread->start();
}

View File

@ -466,7 +466,7 @@ void RPCServer::runInNewThread(int seconds)
epicsThreadCreate("RPCServer thread",
epicsThreadPriorityMedium,
epicsThreadGetStackSize(epicsThreadStackSmall),
epicsThreadGetStackSize(epicsThreadStackBig),
threadRunner, param.get());
// let the thread delete 'param'

View File

@ -202,7 +202,7 @@ epicsThreadOnceId sim_mute_once = EPICS_THREAD_ONCE_INIT;
SimADC::SimADC()
:runner(*this, "Runner",
epicsThreadGetStackSize(epicsThreadStackSmall),
epicsThreadGetStackSize(epicsThreadStackBig),
epicsThreadPriorityMedium)
,runner_stop(false)
{

View File

@ -719,7 +719,7 @@ void TestIoc::start()
thread = std::auto_ptr<epicsThread>(new epicsThread(
*this,
"testIoc",
epicsThreadGetStackSize(epicsThreadStackSmall),
epicsThreadGetStackSize(epicsThreadStackBig),
epicsThreadPriorityLow));
thread->start();
#endif