Blender Git Commit Log

Git Commits -> Revision 93240ba

Revision 93240ba by Bastien Montagne (compositor-2016)
June 8, 2016, 19:45 (GMT)
Fix an error in new lockfree parallel_range_next_iter_get() helper.

Reading the shared state->iter value after storing it in the 'reference' var could in theory
lead to a race condition setting state->iter value above state->stop, which would be 'deadly'.

This **may** be the cause of T48422, though I was not able to reproduce that issue so far.

Commit Details:

Full Hash: 93240ba7988854d2d38290f4534df4a8ecccc193
Parent Commit: 9437e2a
Committed By: Jeroen Bakker
Lines Changed: +2, -2

1 Modified Path:

/source/blender/blenlib/intern/task.c (+2, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021