summaryrefslogtreecommitdiffstats
path: root/mkspecs/macx-xcode
diff options
context:
space:
mode:
authorBradley T. Hughes <bradley.hughes@nokia.com>2010-06-25 09:21:21 (GMT)
committerBradley T. Hughes <bradley.hughes@nokia.com>2010-06-25 09:43:03 (GMT)
commita144416f28ff256eed9913edc8453acb00760876 (patch)
tree12343de823d29c82ff19bd0d7c2c5a1e2006b748 /mkspecs/macx-xcode
parent65725d65882bd821c2a704307d201d246d8342b5 (diff)
downloadQt-a144416f28ff256eed9913edc8453acb00760876.zip
Qt-a144416f28ff256eed9913edc8453acb00760876.tar.gz
Qt-a144416f28ff256eed9913edc8453acb00760876.tar.bz2
QSemaphore::tryAquire(timeout) -- never times out on an active semaphore
If a thread trying to acquire multiple resources is continuously preempted by threads acquiring smaller amounts, the larger consumer would end up waiting forever (instead of for the given timeout). Fix this by keeping track of elapsed time between wakeups using QElapsedTimer. Task-number: QTBUG-11500 Reviewed-by: thiago
Diffstat (limited to 'mkspecs/macx-xcode')
0 files changed, 0 insertions, 0 deletions