Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. What units of time does QMutex::tryLock() take?
Forum Updated to NodeBB v4.3 + New Features

What units of time does QMutex::tryLock() take?

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 317 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.
  • I Offline
    I Offline
    In Fo
    wrote on last edited by
    #1

    Are they milliseconds, microseconds, seconds or else? What are they?

    1 Reply Last reply
    0
    • B Offline
      B Offline
      Bonnie
      wrote on last edited by Bonnie
      #2

      Why don't you check the documentation first?
      This kind of information would definitely be stated in the doc.

      If another thread has locked the mutex, this function will wait for at most timeout milliseconds for the mutex to become available.

      1 Reply Last reply
      5
      • I Offline
        I Offline
        In Fo
        wrote on last edited by
        #3

        Missed it, thanks. It's milliseconds.

        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