Blender Git Loki
Git Commits -> Revision 183ba28
Revision 183ba28 by Brecht Van Lommel (master) May 19, 2020, 23:03 (GMT) |
Cleanup: make guarded memory allocation always thread safe Previously this would be enabled when threads were used, but threads are now basically always in use so there is no point. Further, this is only needed for guarded allocation with --debug-memory which is not performance critical. |
Commit Details:
Full Hash: 183ba284f213903f2208349fe1dd57c07c327ad9
Parent Commit: 120e992
Lines Changed: +7, -164
15 Modified Paths:
/intern/guardedalloc/intern/mallocn.c (+0, -3) (Diff)
/intern/guardedalloc/intern/mallocn_guarded_impl.c (+6, -65) (Diff)
/intern/guardedalloc/intern/mallocn_intern.h (+0, -2) (Diff)
/intern/guardedalloc/intern/mallocn_lockfree_impl.c (+0, -6) (Diff)
/intern/guardedalloc/MEM_guardedalloc.h (+0, -4) (Diff)
/source/blender/blenkernel/intern/dynamicpaint.c (+0, -4) (Diff)
/source/blender/blenlib/BLI_threads.h (+0, -3) (Diff)
/source/blender/blenlib/intern/task_pool.cc (+0, -10) (Diff)
/source/blender/blenlib/intern/task_range.cc (+0, -4) (Diff)
/source/blender/blenlib/intern/threads.c (+0, -39) (Diff)
/source/blender/draw/engines/external/external_engine.c (+1, -1) (Diff)
/source/blender/editors/render/render_internal.c (+0, -2) (Diff)
/source/blender/render/extern/include/RE_engine.h (+0, -2) (Diff)
/source/blender/render/intern/source/external_engine.c (+0, -15) (Diff)
/source/creator/creator_args.c (+0, -4) (Diff)
/intern/guardedalloc/intern/mallocn_guarded_impl.c (+6, -65) (Diff)
/intern/guardedalloc/intern/mallocn_intern.h (+0, -2) (Diff)
/intern/guardedalloc/intern/mallocn_lockfree_impl.c (+0, -6) (Diff)
/intern/guardedalloc/MEM_guardedalloc.h (+0, -4) (Diff)
/source/blender/blenkernel/intern/dynamicpaint.c (+0, -4) (Diff)
/source/blender/blenlib/BLI_threads.h (+0, -3) (Diff)
/source/blender/blenlib/intern/task_pool.cc (+0, -10) (Diff)
/source/blender/blenlib/intern/task_range.cc (+0, -4) (Diff)
/source/blender/blenlib/intern/threads.c (+0, -39) (Diff)
/source/blender/draw/engines/external/external_engine.c (+1, -1) (Diff)
/source/blender/editors/render/render_internal.c (+0, -2) (Diff)
/source/blender/render/extern/include/RE_engine.h (+0, -2) (Diff)
/source/blender/render/intern/source/external_engine.c (+0, -15) (Diff)
/source/creator/creator_args.c (+0, -4) (Diff)