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: | Re: Race conditions in SNL programs |
From: | Marty Kraimer <[email protected]> |
To: | [email protected] |
Date: | Fri, 21 May 2010 10:51:00 -0400 |
Concerning double: On the new PPC 500v2 core it takes indeed two
assembler instructions to load or store a double. Thus doubles are
non-atomic.
Ah, thanks for a definite statement.
By the way, I think arrays are already unsafe on the server!
Ouch!
If the
array record processes and updates the array at the same time as it is
sent on the network by CA, the user gets a half old/hald new array. This
is because only the pointer to the array is put into the queue for the
CA thread, not the array data itself. (I am happy if somebody could
prove me wrong.)
Hm, you could try to prove that it happens. This may be difficult, though.
Anyway, thanks for your input!
Cheers Ben