EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  <19992000  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  <19992000  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: Re: database race condition?
From: Marty Kraimer <[email protected]>
To: Till Straumann <[email protected]>
Cc: [email protected]
Date: Thu, 18 Mar 1999 08:35:13 -0600
Till Straumann wrote:
> 
> One of our programmers consulted me because his device support module
> deadlocked the database (i.e. one or two of the scanning tasks). This happened
> 
> when his module read a field using dbGetField().


Record/Device support is not allowed to call dbGetField or dbPutField.
record/device support uses dbGetLink, dbPutLink instead.
Reading Chapter 2 of the Application Developers guide should explain what
happened.
If you really understand Chapter 2, you will see that for certain VERY rare
situations it is permissible for record/device support to call dbGet/dbPut but
you better think very hard before doing this.

Marty Kraimer

Replies:
Re: database race condition? Till Straumann
References:
database race condition? Till Straumann

Navigate by Date:
Prev: database race condition? Till Straumann
Next: Re: database race condition? Till Straumann
Index: 1994  1995  1996  1997  1998  <19992000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: database race condition? Till Straumann
Next: Re: database race condition? Till Straumann
Index: 1994  1995  1996  1997  1998  <19992000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·