summaryrefslogtreecommitdiffstats
path: root/src/opengl/qopengltexture.cpp
diff options
context:
space:
mode:
authorAhmad Samir <a.samirh78@gmail.com>2023-02-27 21:50:23 +0200
committerAhmad Samir <a.samirh78@gmail.com>2023-03-14 22:15:35 +0200
commit5cea5fc80b9e1b19d620ec6be1acd5cdbd220971 (patch)
tree23aa2bc463a9b384d982a24d1f5ce8be2ab9ad53 /src/opengl/qopengltexture.cpp
parent425e635ecd8d588a87da66a1ef89fbf9ef469f1e (diff)
QLockFile: tryLock(): use chrono first
I.e. tryLock(chrono::milliseconds) shouldn't call the int overload as that truncates the timeout (milliseconds is typically int64_t). Add a note to the tryLock(millisecons) docs that passing milliseconds::max() will make it wait forever to obtain the lock. Task-number: QTBUG-110059 Change-Id: Ib48d9b1b117ce816348625331543d6ba8a788973 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/opengl/qopengltexture.cpp')
0 files changed, 0 insertions, 0 deletions