Improve thumbnail building.

Authored by Robert Krawitz <rlk@alum.mit.edu> on May 19 2018, 4:28 PM.

Description

Improve thumbnail building.

  1. Fix the threading logic and add locks where needed. The old code relied on timers working across QThreads, which they don't. It also relied on signals being delivered to all QThreads, which doesn't work if the thread in question does not have an event loop.
  1. Add incremental saving. This currently has little performance benefit except for very large datasets.

Details

Committed
Robert Krawitz <rlk@alum.mit.edu>May 19 2018, 4:51 PM
Parents
R463:0a1596973c87: Overlap thumbnail create with image load.
Branches
Unknown
Tags
Unknown
Robert Krawitz <rlk@alum.mit.edu> committed R463:1d6d9ff201a4: Improve thumbnail building. (authored by Robert Krawitz <rlk@alum.mit.edu>).May 19 2018, 4:51 PM