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:06:45 -07:00
parent 31802a8bde
commit 3ef60a61a2
3 changed files with 3 additions and 3 deletions

View File

@@ -158,7 +158,7 @@ public:
Thread(std::string name,
ThreadPriority priority,
Runnable *runnable,
epicsThreadStackSizeClass stkcls=epicsThreadStackSmall);
epicsThreadStackSizeClass stkcls=epicsThreadStackBig);
/**
*

View File

@@ -223,7 +223,7 @@ void RefMonitor::start(double period)
impl->period = period;
impl->worker.reset(new epicsThread(*impl,
"RefMonitor",
epicsThreadGetStackSize(epicsThreadStackSmall),
epicsThreadGetStackSize(epicsThreadStackBig),
epicsThreadPriorityMin));
impl->worker->start();
}

View File

@@ -52,7 +52,7 @@ void Thread::Config::x_setdefault()
this->p_prio = epicsThreadPriorityLow;
this->p_autostart = true;
this->p_runner = NULL;
(*this).stack(epicsThreadStackSmall);
(*this).stack(epicsThreadStackBig);
}
size_t Thread::num_instances;