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
<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
- Navigate by Thread:
- Prev:
database race condition? Till Straumann
- Next:
Re: database race condition? Till Straumann
- 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
|