Added some code which helps troubleshooting issues caused by
authorSergey Sharybin <sergey.vfx@gmail.com>
Thu, 24 Jan 2013 08:14:05 +0000 (08:14 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Thu, 24 Jan 2013 08:14:05 +0000 (08:14 +0000)
commit5e739ddae2cc5fdb30e62544bfdd5b55284962a5
treef3a449a1d591513cd87a7671dbc0fa2bea556dc5
parentc65c1958bde6425cedb810590d64252adc2e56c3
Added some code which helps troubleshooting issues caused by
non-threadsafe usage of guarded allocator.

Also added small chunk of code to check consistency of begin/end
threaded malloc.

All this additional checks are commented and wouldn't affect on
builds, however found them helpful to troubleshoot issues so
decided to commit it to SVN.
intern/guardedalloc/intern/mallocn.c
source/blender/blenlib/intern/threads.c