// January 10, 2002: Fixed bug in AtomicDivide - credit due to Jordi Guerrero

git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@11 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
aandrei 2002-01-10 21:22:07 +00:00
parent b1dfe0d9bc
commit 1c43c387b8

View file

@ -53,7 +53,7 @@ namespace Loki
{ return ++lval; }
static IntType AtomicDivide(volatile IntType& lval)
{ return --lval; }
{ return lval /= val; }
static void AtomicAssign(volatile IntType & lval, IntType val)
{ lval = val; }
@ -197,6 +197,7 @@ namespace Loki
////////////////////////////////////////////////////////////////////////////////
// Change log:
// June 20, 2001: ported by Nick Thurn to gcc 2.95.3. Kudos, Nick!!!
// January 10, 2002: Fixed bug in AtomicDivide - credit due to Jordi Guerrero
////////////////////////////////////////////////////////////////////////////////
#endif