Experimental Physics and Industrial Control System
Hi Jack,
On 2012-11-30 Jack Smith wrote:
>
> I am trying to look through base-3.14.*/src/misc/iocInit.c. I guess
> the only function related to caRepeater would be rsrv_init(). Then I
> take a quick look at src/rsrv/caservertask.c, but still don't see how
> the caRepeater get spawned. Could you tell me how the caRepeater is
> started during iocInit? Also what does "rsrv" mean / stand for?
As Ralph said, the repeater is started by the CA client library, so the call
chain from iocInit() is that iocBuild() calls db/dbCa.c:dbCaLinkInit() which
starts dbCaTask() in its own thread, and that calls ca_context_create() to
initialize the CA client library and start the repeater if necessary. Then
later on iocBuild() also calls as/asDbLib.c:asInit() which can also initialize
the CA client library via the code in as/asCa.c:asCaStart() although normally
the dbCaLinkInit() would have taken care of that.
I don't know what the "r" in rsrv stands for either; if he's reading this Jeff
Hill might remember...
HTH,
- Andrew
--
Computer science is as much about computers as astronomy is about
telescopes. -- Edsger Dijkstra
- Replies:
- RE: caRepeater object code not cross-compiled in R3.14.12.2 Hu, Yong
- References:
- caRepeater object code not cross-compiled in R3.14.12.2 Rod Nussbaumer
- Re: caRepeater object code not cross-compiled in R3.14.12.2 Andrew Johnson
- Re: caRepeater object code not cross-compiled in R3.14.12.2 Jack Smith
- Navigate by Date:
- Prev:
Re: caRepeater object code not cross-compiled in R3.14.12.2 Ralph Lange
- Next:
RE: CSS BOY left-mouse event Chen, Xihui
- 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: caRepeater object code not cross-compiled in R3.14.12.2 Ralph Lange
- Next:
RE: caRepeater object code not cross-compiled in R3.14.12.2 Hu, Yong
- 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