From cc76ca13607012539c6ec2713d72ee55b7d8d088 Mon Sep 17 00:00:00 2001 From: MarkRivers Date: Wed, 30 Mar 2005 00:47:49 +0000 Subject: [PATCH] Changed from using hardcoded stack size to generic EPICS stack size --- motorApp/SoftMotorSrc/devSoftAux.cc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/motorApp/SoftMotorSrc/devSoftAux.cc b/motorApp/SoftMotorSrc/devSoftAux.cc index 181616f0..8508003f 100644 --- a/motorApp/SoftMotorSrc/devSoftAux.cc +++ b/motorApp/SoftMotorSrc/devSoftAux.cc @@ -2,9 +2,9 @@ FILENAME... devSoftAux.cc USAGE... Motor record device level support for Soft channel. -Version: $Revision: 1.7 $ -Modified By: $Author: sluiter $ -Last Modified: $Date: 2004-12-20 21:26:52 $ +Version: $Revision: 1.8 $ +Modified By: $Author: rivers $ +Last Modified: $Date: 2005-03-30 00:47:49 $ */ /* @@ -107,7 +107,8 @@ long soft_init(void *after) soft_motor_priority = epicsThreadGetPriority(dbCaTask_tid); soft_motor_priority -= 1; - soft_motor_id = epicsThreadCreate((char *) "soft_motor", soft_motor_priority, 10000, + soft_motor_id = epicsThreadCreate((char *) "soft_motor", soft_motor_priority, + epicsThreadGetStackSize(epicsThreadStackMedium), (EPICSTHREADFUNC) soft_motor_task, NULL); } else