Blender Git Commit Log

Git Commits -> Revision 2540741

Revision 2540741 by Mai Lavelle (master)
August 23, 2017, 10:54 (GMT)
Fix implementation of atomic update max and move to a central location

While unlikely to have had any serious effects because of limited use, the
previous implementation was not actually atomic due to a data race and
incorrectly coded CAS loop. We also had duplicates of this code in a few
places, it's now been moved to a single location with all other atomic
operations.

Commit Details:

Full Hash: 2540741dee789f752687198c6f272a995d45073e
Parent Commit: 5c60721
Lines Changed: +14, -17

5 Modified Paths:

/intern/atomic/atomic_ops.h (+1, -0) (Diff)
/intern/atomic/intern/atomic_ops_ext.h (+11, -0) (Diff)
/intern/cycles/util/util_atomic.h (+0, -10) (Diff)
/intern/cycles/util/util_stats.h (+1, -1) (Diff)
/intern/guardedalloc/intern/mallocn_lockfree_impl.c (+1, -6) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021