always epicsThreadStackBig
on RTEMS at least, c++ code needs the largest standard stack frame size.
This commit is contained in:
@ -48,7 +48,7 @@ void GetDoneThread::start()
|
||||
thread = std::tr1::shared_ptr<epicsThread>(new epicsThread(
|
||||
*this,
|
||||
"getDoneThread",
|
||||
epicsThreadGetStackSize(epicsThreadStackSmall),
|
||||
epicsThreadGetStackSize(epicsThreadStackBig),
|
||||
epicsThreadPriorityLow));
|
||||
thread->start();
|
||||
}
|
||||
|
@ -47,7 +47,7 @@ void MonitorEventThread::start()
|
||||
thread = std::tr1::shared_ptr<epicsThread>(new epicsThread(
|
||||
*this,
|
||||
"monitorEventThread",
|
||||
epicsThreadGetStackSize(epicsThreadStackSmall),
|
||||
epicsThreadGetStackSize(epicsThreadStackBig),
|
||||
epicsThreadPriorityLow));
|
||||
thread->start();
|
||||
}
|
||||
|
@ -48,7 +48,7 @@ void PutDoneThread::start()
|
||||
thread = std::tr1::shared_ptr<epicsThread>(new epicsThread(
|
||||
*this,
|
||||
"putDoneThread",
|
||||
epicsThreadGetStackSize(epicsThreadStackSmall),
|
||||
epicsThreadGetStackSize(epicsThreadStackBig),
|
||||
epicsThreadPriorityLow));
|
||||
thread->start();
|
||||
}
|
||||
|
@ -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;
|
||||
|
@ -107,7 +107,7 @@ void BlockingUDPTransport::start() {
|
||||
}
|
||||
|
||||
_thread.reset(new epicsThread(*this, threadName.c_str(),
|
||||
epicsThreadGetStackSize(epicsThreadStackSmall),
|
||||
epicsThreadGetStackSize(epicsThreadStackBig),
|
||||
epicsThreadPriorityMedium));
|
||||
_thread->start();
|
||||
}
|
||||
|
@ -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'
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -719,7 +719,7 @@ void TestIoc::start()
|
||||
thread = std::auto_ptr<epicsThread>(new epicsThread(
|
||||
*this,
|
||||
"testIoc",
|
||||
epicsThreadGetStackSize(epicsThreadStackSmall),
|
||||
epicsThreadGetStackSize(epicsThreadStackBig),
|
||||
epicsThreadPriorityLow));
|
||||
thread->start();
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user