From 02b87df99c978dd2f98a8a544c191f0545a1f8fe Mon Sep 17 00:00:00 2001 From: "W. Eric Norum" Date: Mon, 21 Jul 2008 17:40:44 +0000 Subject: [PATCH] The ipToAsciiProxy thread calls upon vendor libraries which may use significant amounts of stack. Account for this by providing the thread with an epicsThreadStackBig stack. --- documentation/RELEASE_NOTES.html | 4 ++++ src/libCom/misc/ipAddrToAsciiAsynchronous.cpp | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/documentation/RELEASE_NOTES.html b/documentation/RELEASE_NOTES.html index 0cc33a70c..dd5836d3a 100644 --- a/documentation/RELEASE_NOTES.html +++ b/documentation/RELEASE_NOTES.html @@ -30,6 +30,10 @@ either iocInit or iocBuild + iocRun) the stopping all scan activity. The iocRun command restarts the IOC from this state.

+

ipToAsciiProxy

+ +

This thread calls upon vendor libraries which may use significant amounts of stack. Account for this by providing the ipToAsciiProxy thread with an epicsThreadStackBig stack.

+

While this might seem like a useful thing to be able to do, we have not tested it on IOCs using real-world I/O, and it is not unlikely that pausing an operational IOC could cause irremdial havok to any device support, sequence diff --git a/src/libCom/misc/ipAddrToAsciiAsynchronous.cpp b/src/libCom/misc/ipAddrToAsciiAsynchronous.cpp index 36094f52a..b4d1cae1b 100644 --- a/src/libCom/misc/ipAddrToAsciiAsynchronous.cpp +++ b/src/libCom/misc/ipAddrToAsciiAsynchronous.cpp @@ -164,7 +164,7 @@ ipAddrToAsciiEngine & ipAddrToAsciiEngine::allocate () ipAddrToAsciiEnginePrivate::ipAddrToAsciiEnginePrivate () : thread ( *this, "ipToAsciiProxy", - epicsThreadGetStackSize(epicsThreadStackSmall), + epicsThreadGetStackSize(epicsThreadStackBig), epicsThreadPriorityLow ), pCurrent ( 0 ), cancelPendingCount ( 0u ), exitFlag ( false ), callbackInProgress ( false )