Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Call for Presentations - Qt World Summit

    Is QAudioOutput (part of QT Mobility API) reentrant?

    Mobile and Embedded
    1
    1
    2149
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      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.

      1 Reply Last reply Reply Quote 0
      • First post
        Last post