Probably not, but since I am doing it "along side" my work, my concentration can span so muchWas my explanation that bad?![]()
Well, in C++ you have to make sure the function is thread safe - that means - that there is no situation where two threads are trying to access the same reasorce at the same time.In Java I can simply use a public function with no ill effects between threads - is that possible with QThreads? Or should I set up some round-robbin thread/slot implementation?
You should use mutex or semaphores to protect the mutual excluded code.
I too vote for the custom event solution, its the "cleanest".
Bookmarks