I would like to know if a QThread is stopped when the application is running on background or the screen is switched off.

The explanation for my question: I have a program in Open C/C++ which is communicating with a Qt application using named pipes (pipes are 512 bytes in size, so writes that are larger than that are blocked until a reader reads some data). When the Qt application is in the screen everything goes well, all the data that the program has sent to the Qt application (chat messages) is displayed in the screen. However, if the application is in background or the screen is switched off, the Qt application only reads some messages.

Thank you in advance!