diff options
author | Richard Antalik <richardantalik@gmail.com> | 2020-03-25 02:23:06 +0300 |
---|---|---|
committer | Richard Antalik <richardantalik@gmail.com> | 2020-03-25 02:23:06 +0300 |
commit | 188ccfb0dd6739fb6af8741aeecbc1da82c068ab (patch) | |
tree | 958a553b3f802c9ac3640cbc6bd5d02efc879453 /source/blender/windowmanager/intern/wm_files_link.c | |
parent | e1c7549ac98aca4428d7125972f9f029f260faa8 (diff) |
Fix T74662: Prefetching causes random crashes
Caused by 18b693bdbd6b, due to lack of thread safety.
Beteween calling BKE_sequencer_cache_get_num_items and BKE_sequencer_cache_iterate
New items could be inserted in the cache.
BKE_sequencer_cache_iterate() now use 2 callbcack functions for initial setup
during which buffers with correct length can be initialized and finally iterating.
Additionally drawing of unselected items was fixed again introduced in 18b693bdbd6b.
T74662 is reporting quite different symptoms, than I get on my machine, so I am not
entirely sure this is complete fix.
Reviewed By: brecht
Differential Revision: https://developer.blender.org/D7220
Diffstat (limited to 'source/blender/windowmanager/intern/wm_files_link.c')
0 files changed, 0 insertions, 0 deletions