Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2015-08-18 13:35:43 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2015-08-18 13:39:45 +0300
commitd85e94da07d3d8bb213ef2e3d98c2032edad7155 (patch)
treee4a9993274bc4306170a86fe8f2c7b657de76e07 /source/blender/editors/space_file/filelist.c
parent81afa2953cab20a59f1997aaf12dc85f5acbea0b (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/editors/space_file/filelist.c')
0 files changed, 0 insertions, 0 deletions