and enables mutex protection on MEM_* functions, useful when you want to call these functions from an OpenMP thread. (merge from render25 branch)
and enables mutex protection on MEM_* functions, useful when you want to call these functions from an OpenMP thread. (merge from render25 branch)