Does Qt's event listener serve as a file descriptor?

On the server running the Qt application, I got the following error, as soon another backup job will start running overnight:

QEventDispatcherUNIXPrivate(): Unable to create thread pipe: Too many open files
QEventDispatcherUNIXPrivate(): Can not continue without a thread pipe

      

Is it possible that the join function requires a "unix file descriptor"? For example, if I do the following, is an additional file descriptor resource required from the OS until I disconnect?

connect(this, SIGNAL(sendConfig(QString, QString)), deviceCon, SLOT(setDeviceConfig(QString, QString)));
emit sendConfig(configEntry, configValue);
disconnect(this, SIGNAL(sendConfig(QString, QString)), deviceCon, SLOT(setDeviceConfig(QString, QString)));

      

Thank. Spikey

+3


source to share


1 answer


The best I can find on this subject is the link from QT 4.2 .

The answer to your question is yes. The class opens file descriptors to create pipes, which are then used select

to handle events.



PS Just confirmed a similar method in 4.8

+2


source







All Articles