Blender Git Commit Log
Git Commits -> Revision 0464876
Revision 0464876 by Sergey Sharybin (master) June 24, 2014, 17:35 (GMT) |
Make main library safe(er) for the threaded usage Added a lock to the Main which is getting acquired and released when modifying it's lists. Should not be any functional changes now, it just means Main is now considered safe without worrying about locks in the callee. |
Commit Details:
Full Hash: 04648767fabda7d9461e32c89afcd806d0227547
Parent Commit: fc1040c
Lines Changed: +19, -8
6 Modified Paths:
/source/blender/blenkernel/BKE_library.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_main.h (+3, -0) (Diff)
/source/blender/blenkernel/intern/library.c (+11, -5) (Diff)
/source/blender/blenkernel/intern/material.c (+2, -0) (Diff)
/source/blender/blenkernel/intern/mesh.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/node.c (+1, -1) (Diff)
/source/blender/blenkernel/BKE_main.h (+3, -0) (Diff)
/source/blender/blenkernel/intern/library.c (+11, -5) (Diff)
/source/blender/blenkernel/intern/material.c (+2, -0) (Diff)
/source/blender/blenkernel/intern/mesh.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/node.c (+1, -1) (Diff)