Thanks for your answers.
I was a bit irritated when i started to read about threading in Qt.
I thought always that there is another special way to create threads not just the instantiating way.
Another question:
I have a Thread-Class A which I wrote for serial communication, which has write and read operations etc..for overlapped IO.
Now I wanted to create two threads with this Class A.
The first one for Reading (listens whole time on the line and does sth.).
The second one for Writing, when it gets work to do from somewhere.
I have no idea, how i have to write my run() method for both functionalities (in one Thread Class which has both abilities)
How can i do this?
Bookmarks