On 22.02.2013 23:00, Zhang, Dehong wrote:
> Hi,
>
> I seem to have such a problem: when my IOC starts up, some of my records
> want to callback almost immediately. Then my IOC crashes, because the "onceQ"
> related stuff are not created yet -- is this possible?
What is causing these callbacks?
On a well-behaved IOC, the possible sources for callbacks are enabled
last, after the scan and database mechanisms are up.
> Is it safe to move the "scanInit" call in iocBuild to just before "initDrvSup"
> (EPICS base 3.14.12, src/misc/iocInit.c)?
I would not change such internals without a very good and
well-understood reason.
This sounds like applying a dirty patch to remove a symptom, instead of
searching for the cause.
~Ralph
- References:
- Race condition during IOC startup? Zhang, Dehong
- Navigate by Date:
- Prev:
Race condition during IOC startup? Zhang, Dehong
- Next:
RE: Race condition during IOC startup? Mark Rivers
- 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:
Race condition during IOC startup? Zhang, Dehong
- Next:
RE: Race condition during IOC startup? Mark Rivers
- 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
|