Hi, I think at least the mutex approach should work, but you have to be more specific on how "it does not work". For example, does the tryLock() call fail sometimes?
On another note, I would expect the program to display the item I clicked last, and not the one it is still working on. So in my opinion it would be better to abort a running loading operation at restart with the newly clicked item.
Ginsengelf
Bookmarks