I just spent time eyeballing this code and blockingMap is used with QtConcurrent so nothing will be returned until all threads except the main one are reaped/collected.
So the extra sections problem does not appear to be threading caused/related at all to me. So this brings us back to sticking keys I think or key related Qt bugs.
Kevin
Quote:
Originally Posted by KevinH
This is just a wag on my parts... but multiple threads are used to validate that a split is safe. Typically we need to collect/sync/reap all such threads before returning from the routine that spawns them.
Could extra threads being created to validate a book with many existing chapters somehow be related?
How many files/sections/chapters were in your book when it exhibited this behaviour? One big one being split? Or many already existing?
|