Created threadsafe MEM_malloc versions in BLI_threads.h, now in use
authorTon Roosendaal <ton@blender.org>
Mon, 30 Jan 2006 11:09:50 +0000 (11:09 +0000)
committerTon Roosendaal <ton@blender.org>
Mon, 30 Jan 2006 11:09:50 +0000 (11:09 +0000)
commite1936485952092b0ff96485666f86d65fe8f1e58
tree415a94e0eed03d6db4f2f8933346c5ac9e52ff6b
parent18ab7c468fbca1aeab57c6d9268535067be03ef3
Created threadsafe MEM_malloc versions in BLI_threads.h, now in use
for compositing code.

Officially malloc/calloc/free is threadsafe, but our secure malloc system
requires all memory blocks to be stored in a single list, so when two
threads write in this list you get conflicts.
source/blender/blenkernel/intern/node_composite.c
source/blender/blenlib/BLI_threads.h
source/blender/blenlib/intern/threads.c
source/blender/render/intern/source/pipeline.c