Solved What units of time does QMutex::tryLock() take?
-
Are they milliseconds, microseconds, seconds or else? What are they?
-
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. -
Missed it, thanks. It's milliseconds.