EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: seq debugger
From: Andrew Johnson <[email protected]>
To: "Laznovsky, Michael" <[email protected]>
Cc: EPICS core-talk <[email protected]>
Date: Thu, 22 Jun 2006 10:21:29 -0500
Hi Michael,

Laznovsky, Michael wrote:

Since the snc compiler doesn't currently generate any code to protect any part of the "action" functions (the body of each "when"), perhaps the easiest way to go would be to add semaphores around those (only if compiled for debug, to avoid the overhead otherwise). Any other ideas?

I don't know enough about the internal workings of the sequencer to provide specifics, but I wonder if there is currently any protection between a sequence action running and a CA event callback updating its monitored variable. This would need exactly the same protection that we're talking about for the local variable access API, so you might want to investigate how that is done (if at all). Of course the problem here is that single SNL program may have multiple state sets, and if you add a mutex the tasks for each state set could end fighting for access to the same (set of) variable(s).

- Andrew
--
Not everything that can be counted counts,
and not everything that counts can be counted.
  -- Albert Einstein

Replies:
RE: seq debugger Jeff Hill
References:
RE: seq debugger Laznovsky, Michael

Navigate by Date:
Prev: RE: alarm hook Dalesio, Leo `Bob`
Next: RE: seq debugger Jeff Hill
Index: 2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: seq debugger Laznovsky, Michael
Next: RE: seq debugger Jeff Hill
Index: 2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Feb 2012 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·