You contradict yourself. Either only one thread accesses the data or not.
You don't need threads. You're putting a lot of effort in trying to synchronize something that doesn't need synchronization. Just use signals and slots in one thread and it will work properly.maybe i dont need the usage of mutex for that, only with triggering the signal would be enough, or?
Bookmarks