Hello,

I've decided to separate my tcp listener's code from the GUI with QTthread. I've implemented this listener, standalone previously and it's not using any resources whatsoever. However, when I run the same code from a qt thread it's using 100% of a single core. I've tried using priorities but it didn't change anything. The listener is implemented with while(1). Same code compiled as a standalone console exe(no qt) uses 0% CPU. I've used both QtConcurrent and QThread, the result is the same. Any suggestions?