October 27, 2010

Sandip Ahluwalia Sandip Ahluwalia
Lab Rat
1 posts

Is QAudioOutput (part of QT Mobility API) reentrant?

 

The documentation for QAudioOutput (http://doc.qt.nokia.com/4.7/qaudiooutput.html [doc.qt.nokia.com]) doesn’t state if it is either reentrant or thread-safe (http://doc.qt.nokia.com/4.6/threads-reentrancy.html#reentrant [doc.qt.nokia.com]). 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 [doc.qt.nokia.com]), 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.

0 replies

 
  ‹‹ QWS_KEYBOARD: Could not initialize virtual console switching      qt_s60_setWindowGroupCursor and Q_SYMBIAN_HAS_SYSTEM_CURSORS Question ››

You must log in to post a reply. Not a member yet? Register here!