Blender Git Loki

Git Commits -> Revision e7d6537

Revision e7d6537 by Brecht Van Lommel (master)
September 6, 2006, 19:13 (GMT)

Added support for threadsafe MEM_mallocN/MEM_freeN in the guardedalloc
module itself, replacing the special MEM_mallocT/MEM_freeT functions.
Mutex locking is only enabled when threads are running.

There was no good reason to have these separate, it just led to ugly
hacks when calling functions with non-threadsafe malloc from threads.

Commit Details:

Full Hash: e7d6537f1c5227005ccddc52987ea720ba66bc80
SVN Revision: 8449
Parent Commit: d444f25
Lines Changed: +184, -217

15 Modified Paths:

/intern/guardedalloc/intern/mallocn.c (+41, -1) (Diff)
/intern/guardedalloc/MEM_guardedalloc.h (+4, -0) (Diff)
/source/blender/blenkernel/intern/colortools.c (+8, -10) (Diff)
/source/blender/blenkernel/intern/image.c (+0, -2) (Diff)
/source/blender/blenkernel/intern/node_composite.c (+32, -62) (Diff)
/source/blender/blenlib/BLI_threads.h (+1, -9) (Diff)
/source/blender/blenlib/intern/threads.c (+15, -41) (Diff)
/source/blender/blenpluginapi/intern/pluginapi.c (+5, -4) (Diff)
/source/blender/include/BIF_glutil.h (+0, -1) (Diff)
/source/blender/render/intern/source/envmap.c (+2, -4) (Diff)
/source/blender/render/intern/source/imagetexture.c (+8, -16) (Diff)
/source/blender/render/intern/source/pipeline.c (+21, -21) (Diff)
/source/blender/render/intern/source/rendercore.c (+22, -20) (Diff)
/source/blender/render/intern/source/zbuf.c (+22, -22) (Diff)
/source/blender/src/glutil.c (+3, -4) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021