Marty Kraimer answered this question. Turns out the
sequencer will not honor a priority parameter value
of less than 100.
The relevant code from seq_main.c is:
/* Specify task priority */
pSP->taskPriority = SPAWN_PRIORITY;
pValue = seqMacValGet(pSP->pMacros, "priority");
if (pValue != NULL && strlen(pValue) > 0)
{
sscanf(pValue, "%ld", &(pSP->taskPriority));
}
if (pSP->taskPriority < SPAWN_PRIORITY)
pSP->taskPriority = SPAWN_PRIORITY;
if (pSP->taskPriority > 255)
pSP->taskPriority = 255;
tid = taskSpawn(ptask_name, pSP->taskPriority, SPAWN_OPTIONS,
stack_size, (FUNCPTR)sequencer, (int)pSP, stack_size,
(int)ptask_name,
0,0,0,0,0,0,0);
where
seq.h:#define SPAWN_PRIORITY 100
:(
Frank
--
------
Frank Lenkszus [email protected] (630) 252-6972
Advanced Photon Source -- Controls -- Argonne National Laboratory
- Replies:
- task name Ian A Smith
- Navigate by Date:
- Prev:
Re: Sequencer priority parameter Benjamin Franksen
- Next:
task name Ian A Smith
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
<2002>
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: Sequencer priority parameter Benjamin Franksen
- Next:
task name Ian A Smith
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
<2002>
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|