Experimental Physics and Industrial Control System
|
I don't know what's wrong, but there is a working example of ca_context_create(ca_enable_preemptive_callback) in autosave's
save_restore.c. It's done in a spawned thread, and not called from within SEVCHK(), but otherwise it looks just like your code.
Tim Mooney ( [email protected]) (630)252-5417
Beamline Controls Group (www.aps.anl.gov)
Advanced Photon Source, Argonne National Lab
It's in the main thread in a function that's called from the startup script after iocinit().
As far as I can tell, the purpose is to get channel IDs of some local database channels in order to get and put values to them.
I don't doubt that there is a different and better way to do this now-a-days... And maybe there was way back when this was originally implemented too. Who knows why things were done the way they were back in the primordial days..
|
- References:
- ca_search() and "preemptive callback" Michael Westfall
- Re: ca_search() and "preemptive callback" Andrew Johnson
- Re: ca_search() and "preemptive callback" Michael Westfall
- Navigate by Date:
- Prev:
Re: ca_search() and "preemptive callback" Michael Westfall
- Next:
Re: multiple include not supprted with EPICS 3.15.2 haquin
- 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: ca_search() and "preemptive callback" Michael Westfall
- Next:
softGlueZynq R1-0 release Mooney, Tim M.
- 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
|
ANJ, 21 Dec 2017 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|