EPICS Home

Experimental Physics and Industrial Control System


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

Subject: Re: pend_io
From: Andrew Johnson <[email protected]>
To: [email protected]
Cc: steve hunt <[email protected]>
Date: Tue, 26 Jun 2012 12:42:03 -0500
Hi Steve,

On 2012-06-26 steve hunt wrote:
> perhaps the next release could have the caclient makebase app
> following this advice?

The code in the caClient template works just fine.  It calls ca_get(), so the 
subsequent ca_pend_io() won't return until the value has been received (or it 
times out, causing the SEVCHK() to fail).  You were the one who changed the 
ca_get() call into ca_put(), which has different semantics as Jeff has 
explained.  Now I agree that adding an example which uses ca_put() might be a 
good idea, but that's a different issue and doesn't represent a bug in the 
current example code.

- Andrew
-- 
Never interrupt your enemy when he is making a mistake.
-- Napoleon Bonaparte

Replies:
Re: pend_io Steve Hunt
References:
RE: pend_io Hill, Jeff
Re: pend_io steve hunt

Navigate by Date:
Prev: Re: pend_io steve hunt
Next: RE: pend_io Hill, Jeff
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: pend_io steve hunt
Next: Re: pend_io Steve Hunt
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024