g+
g+ Communities
Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014 
<== Date ==> <== Thread ==>

Subject: Re: pend_io
From: Andrew Johnson <anj@aps.anl.gov>
To: core-talk@aps.anl.gov
Cc: steve hunt <hunt@alceli.ch>
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 
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 
ANJ, 26 Nov 2012 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICSv4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·