EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  <2024 Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  <2024
<== Date ==> <== Thread ==>

Subject: Re: startPVAServer prevents windows-x64 IOC from exiting
From: "Johnson, Andrew N. via Core-talk" <core-talk at aps.anl.gov>
To: Michael Davidsaver <mdavidsaver at gmail.com>, "Rivers, Mark L." <rivers at cars.uchicago.edu>
Cc: "core-talk at aps.anl.gov" <core-talk at aps.anl.gov>
Date: Wed, 13 Mar 2024 16:16:39 +0000

On 3/13/24, 10:51 AM, "Core-talk" <core-talk-bounces at aps.anl.gov> wrote:

 

On 3/13/24 06:19, Mark Rivers wrote:
> I just found something interesting.  If I comment out the startPVAServer line it does not hang (which I already knew), but there is now a new atExit handler called first, @pva_server_cleanup.

That is interesting.  You should not need startPVAServer.
The PVA server starts automatically during iocInit(), and
has done so for some years.

Does that require PVAServerRegister.dbd to have been included in the build? It's possible Mark might not have added that, and I'm not sure whether that matters or not. Other than adding it to the exampleApp/src/Makefile the only place we've ever published a mention of that DBD file is the release notes from pvAccessCPP, and those notes don't explain what it does. I don't think our DAQ servers are including it so it may be that pvDatabase also starts the server independently?

- Andrew

-- 

Complexity comes for free, Simplicity you have to work for.

 

 


Replies:
Re: startPVAServer prevents windows-x64 IOC from exiting Michael Davidsaver via Core-talk
RE: startPVAServer prevents windows-x64 IOC from exiting Mark Rivers via Core-talk
References:
startPVAServer prevents windows-x64 IOC from exiting Mark Rivers via Core-talk
startPVAServer prevents windows-x64 IOC from exiting Mark Rivers via Core-talk
Re: startPVAServer prevents windows-x64 IOC from exiting Michael Davidsaver via Core-talk
RE: startPVAServer prevents windows-x64 IOC from exiting Mark Rivers via Core-talk
Re: startPVAServer prevents windows-x64 IOC from exiting Michael Davidsaver via Core-talk

Navigate by Date:
Prev: RE: startPVAServer prevents windows-x64 IOC from exiting Mark Rivers via Core-talk
Next: Re: startPVAServer prevents windows-x64 IOC from exiting Michael Davidsaver via Core-talk
Index: 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: startPVAServer prevents windows-x64 IOC from exiting Mark Rivers via Core-talk
Next: Re: startPVAServer prevents windows-x64 IOC from exiting Michael Davidsaver via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  <2024
ANJ, 13 Mar 2024 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·