EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Permissible in C to call CA I/O functions from callback?
From: "J. Lewis Muir" <[email protected]>
To: [email protected]
Date: Fri, 07 Nov 2014 10:06:17 -0600
On 11/6/14 10:57 PM, J. Lewis Muir wrote:
> I may be missing something basic here.  In the "Channel Access
> Reference Manual" section titled "Polling the CA Client Library From
> Single Threaded Applications," it says, "If preemptive call back
> is not enabled, then for proper operation CA must periodically be
> polled to take care of background activity."  I took that to mean it
> only applied in nonpreemptive mode and found no such statement about
> needing to call ca_pend_event (or others?) when in preemptive mode.

Also, in the CA reference manual documentation for ca_context_create(),
it says, "if preemptive callback mode is enabled the application is
no longer burdened with the necessity of periodically polling the CA
client library in order that it might take care of its background
activities."  I read that to mean calling ca_pend_event is unnecessary
when in preemptive mode.

Regards,

Lewis

References:
Permissible in C to call CA I/O functions from callback? J. Lewis Muir
Re: Permissible in C to call CA I/O functions from callback? Andrew Johnson
Re: Permissible in C to call CA I/O functions from callback? J. Lewis Muir

Navigate by Date:
Prev: Asyn and stringin records freddie.akeroyd
Next: Re: Permissible in C to call CA I/O functions from callback? Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Permissible in C to call CA I/O functions from callback? J. Lewis Muir
Next: Re: Permissible in C to call CA I/O functions from callback? Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 17 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·