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  2014  2015  2016  2017  <20182019  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  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Are Stream Device protocol clauses atomic?
From: "Gregory, Ray" <[email protected]>
To: "[email protected]" <[email protected]>
Date: Mon, 30 Apr 2018 19:59:47 +0000

I would like to know if protocol clauses for Stream Device protocols are atomic. For example, if one thread is processing clause

 

# /// Read the input curve number

getINCRV {

   out "INCRV? \$1";

   in "%d"

}

 

and another thread is simultaneously processing (in the same IOC) clause

 

getInputCurveNumber {

   out "INCRV? \$2";

   in "%(\$1)d";

}

 

can these collide and interfere with each other? Or is there a blocking mechanism to help ensure that the ‘in’ of one clause is really the response to the preceding ‘out’ of the same clause?

 

Thank you,

 

--Ray

 

 


Replies:
RE: Are Stream Device protocol clauses atomic? Mark Rivers

Navigate by Date:
Prev: Re: Number of fields in record ssert error at runtime Andrew Johnson
Next: RE: Are Stream Device protocol clauses atomic? Mark Rivers
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  <20182019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Number of fields in record ssert error at runtime Andrew Johnson
Next: RE: Are Stream Device protocol clauses atomic? Mark Rivers
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  <20182019  2020  2021  2022  2023  2024 
ANJ, 30 Apr 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·