Hi folks,
I just noticed that epicsThreadGetStackSize(-1) behaves like
epicsThreadGetStackSize(3), not like epicsThreadGetStackSize(1) as
expected.
In other words if the requested size is smaller than small, I get a big
stack, not a small one.
Is that the intended behavior or should I write a fix?
Other fixes are needed anyway: The error messages have no \n.
Also I would like to implement a way to configure the stack sizes
dynamically (e.g. using a iocsh variable), so that I do not need to
rebuild EPICS base for stack hungry applications or for applications
with so many clients that stack size becomes an issue (32bit embedded
Linux with >400 CA clients in my case).
Any interest?
I would implement this for 3.14.12, as this is what we still use here.
Dirk