Blender Git Commit Log

Git Commits -> Revision fa9bb2f

Revision fa9bb2f by Benoit Bolsee (master)
June 11, 2016, 20:15 (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: fa9bb2ffe97334a5c686b954673af118c41d1a6d
Parent Commit: 40f1c4f
Lines Changed: +6, -5

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