Blender Git Commit Log
Git Commits -> Revision 794311c
Revision 794311c by Sergey Sharybin (master) June 16, 2017, 08:22 (GMT) |
Cycles: Fix race condition happening in progress utility This is not enough to mutex-guard modification code of integer values, since this operation is NOT atomic. This is not even safe for a single byte data types. For now guarded the getter functions, similar to other functions in this module. Ideally we want to switch modification to an atomic operations, so we wouldn't need any locks in the getters. |
Commit Details:
Full Hash: 794311c92bb2fb7544a8fd5f9d911589a805642b
Parent Commit: 18e1c8d
Lines Changed: +3, -0
1 Modified Path:
/intern/cycles/util/util_progress.h (+3, -0) (Diff)