Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Is QAudioOutput (part of QT Mobility API) reentrant?

Is QAudioOutput (part of QT Mobility API) reentrant?

Scheduled Pinned Locked Moved Mobile and Embedded
1 Posts 1 Posters 2.2k Views
  • 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 Offline
    S Offline
    Sandip Ahluwalia
    wrote on last edited by
    #1

    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
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved