Stack sized adjusted for vxWorks

This commit is contained in:
Unknown
2012-09-06 11:25:51 +02:00
parent fba545818d
commit c1dd026693
2 changed files with 3 additions and 4 deletions

View File

@@ -25,7 +25,6 @@
#include <algorithm>
#include <sstream>
#ifdef _WIN32
#include <BaseTsd.h>
typedef SSIZE_T ssize_t;
@@ -215,7 +214,7 @@ namespace pvAccess {
_rcvThreadId = epicsThreadCreate(threadName.c_str(),
epicsThreadPriorityMedium,
epicsThreadGetStackSize(epicsThreadStackMedium),
epicsThreadGetStackSize(epicsThreadStackBig),
BlockingTCPTransport::rcvThreadRunner, this);
//
@@ -227,7 +226,7 @@ namespace pvAccess {
_sendThreadId = epicsThreadCreate(threadName.c_str(),
epicsThreadPriorityMedium,
epicsThreadGetStackSize(epicsThreadStackMedium),
epicsThreadGetStackSize(epicsThreadStackSmall),
BlockingTCPTransport::sendThreadRunner, this);
}

View File

@@ -82,7 +82,7 @@ namespace epics {
_threadId = epicsThreadCreate(threadName.c_str(),
epicsThreadPriorityMedium,
epicsThreadGetStackSize(epicsThreadStackMedium),
epicsThreadGetStackSize(epicsThreadStackSmall),
BlockingUDPTransport::threadRunner, this);
}