1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 <2011> 2012 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 <2011> 2012 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 |