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

Subject: Mutex at the record level?
From: "Steiner, Mathias" <[email protected]>
To: "[email protected]" <[email protected]>
Date: Fri, 3 Jun 2011 16:33:13 -0400

Learned Friends:

I have a softIOC with a shared-resource problem. 

A couple dozen 'sub' records need access to the same file.

I would like to put a mutex around the file access, but I'm stumped as to where the corresoponding variable should be defined.

 

It seems to me that it has to go one level "up" from the subroutine. 

So my question is:  Where to park the '->lock' ?

 

Thanks in advance for your help.

 

Cheers -Mathias

 

Mathias Steiner

Michigan State University


Replies:
Re: Mutex at the record level? Andrew Johnson

Navigate by Date:
Prev: Re: cross compiler error Chen Xue
Next: RE: cross compiler error Jeff Hill
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: cross compiler error J. Lewis Muir
Next: Re: Mutex at the record level? Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·