Use mutex for lock in image.c
authorRay Molenkamp <github@lazydodo.com>
Tue, 19 Nov 2019 14:37:16 +0000 (07:37 -0700)
committerRay Molenkamp <github@lazydodo.com>
Tue, 19 Nov 2019 14:37:16 +0000 (07:37 -0700)
commit6fea251e01797f6b71873e18b1f491273a26fed0
tree498ca148f6c0af75eb52abb497d8b375aed629f1
parent12915aad65fbce5f4533abb1f9f510e88333a439
Use mutex for lock in image.c

Usage of spinlock during heavy IO gave reduced performance
see D6267 for details.

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D6267
source/blender/blenkernel/intern/image.c