Blender Git Commit Log

Git Commits -> Revision 901d33e

Revision 901d33e by Benoit Bolsee (temp-decklink)
June 9, 2016, 22:00 (GMT)
Atomic ops: Fix atomic_add_uint32 and atomic_sub_uint32 in Windows

The assembler version in Windows used to return the previous value
of the variable while all the other versions return the new value.
This is now fixed for consistency.
Note: this bug had no effect on blender because no part of the code
use the return value of these functions, but the future BGE DeckLink
module makes use of it to implement reference counter.

Commit Details:

Full Hash: 901d33ed0cc9df98173f4e955212497fc871f118
Parent Commit: 8089876
Lines Changed: +6, -5

By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2019