Have a look at 'initHooks.h'. This allows you to register to receive a
callback at particular points during the IOC startup sequence. I'm
guessing you want to wait for 'initHookAfterCallbackInit' or
'initHookAfterCallbackInit'.
On 02/22/2013 05:00 PM, 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?
Is it safe to move the "scanInit" call in iocBuild to just before "initDrvSup"
(EPICS base 3.14.12, src/misc/iocInit.c)?
Thank you for your advices! Best regards,
Dehong
- References:
- Race condition during IOC startup? Zhang, Dehong
- Navigate by Date:
- Prev:
RE: Race condition during IOC startup? Mark Rivers
- Next:
Re: Race condition during IOC startup? Andrew Johnson
- 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: Race condition during IOC startup? Mark Rivers
- Next:
Re: Race condition during IOC startup? Andrew Johnson
- 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
|