Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Is QAudioOutput (part of QT Mobility API) reentrant?
Sandip Ahluwalia last edited by
The documentation for QAudioOutput ("http://doc.qt.nokia.com/4.7/qaudiooutput.html":http://doc.qt.nokia.com/4.7/qaudiooutput.html) doesn't state if it is either reentrant or thread-safe ("http://doc.qt.nokia.com/4.6/threads-reentrancy.html#reentrant":http://doc.qt.nokia.com/4.6/threads-reentrancy.html#reentrant). I am currently using a test app that passes this object to another thread - Is this legal?
Note: QIDevice (associated to QAudioOutput) is reentrant ("http://doc.qt.nokia.com/4.7/qiodevice.html":http://doc.qt.nokia.com/4.7/qiodevice.html), so I assume it is ok for any thread to call member functions of this object as long as this doesn't happen at same time.