diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2015-08-18 13:35:43 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2015-08-18 13:39:45 +0300 |
commit | d85e94da07d3d8bb213ef2e3d98c2032edad7155 (patch) | |
tree | e4a9993274bc4306170a86fe8f2c7b657de76e07 /source/blender/render | |
parent | 81afa2953cab20a59f1997aaf12dc85f5acbea0b (diff) |
IMB_thumb: add thread locking API.
General idea is that, if several threads are handling thumbnails at the same time,
they can end working on the same file at some point, which will generate conflict.
To avoid this, threads can now lock a given filepath.
Note that locking data is allocated on a ref-count basis, to avoid keeping the GSet
in memory when not needed. Also, we are using global LOCK_IMAGE mutex for now.
Needed for upcomming filebrowser rework.
Diffstat (limited to 'source/blender/render')
0 files changed, 0 insertions, 0 deletions