qt5base-lts/src
Thiago Macieira 72f8f994b2 QSemaphore: attempt to fix again the 64-bit Linux semaphore
This time, the issue was that we could race a wait and a wake. A multi-
token waiter would not notice that the number of tokens changed because
it only performed a fetch-and-OR, then waited on the high part which did
not change. That means the futex_wait() would succeed, when we wanted it
to have failed.

So we have to bring back a portion of what commit
081c001deb removed: we need to keep both
the token count and the waiter count in the high word.

Task-number: QTBUG-67214
Change-Id: I04a43ee94975482f9e32fffd151e467a9e0030b3
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2018-03-29 15:15:03 +00:00
..
3rdparty Revert "Detect C standard and try using the most recent" 2018-03-26 15:10:33 +00:00
android Remove unused variable 2018-03-05 08:49:36 +00:00
angle ANGLE: Remove workaround for files having the same name (Debug.h/.cpp) 2018-02-06 06:17:39 +00:00
concurrent QtConcurrent::MedianDouble: do not access uninitialzed values 2018-02-20 20:19:36 +00:00
corelib QSemaphore: attempt to fix again the 64-bit Linux semaphore 2018-03-29 15:15:03 +00:00
dbus DBus: merge calls to set_source_files_properties() in CMake functions 2018-03-23 16:38:56 +00:00
gui Fix QPainter save/restore of clipping enabled state 2018-03-26 16:00:43 +00:00
network macOS: Fix memory leak in systemCaCertificates 2018-03-27 04:15:37 +00:00
opengl Merge remote-tracking branch 'origin/5.10' into 5.11 2018-02-15 10:14:11 +01:00
openglextensions
platformheaders eglfs_kms_vsp2: Add support for setting layer alpha 2018-02-05 13:12:01 +00:00
platformsupport Modernize the "regularexpression" feature 2018-03-20 08:19:25 +00:00
plugins Windows: handle multiple transient children when closing windows 2018-03-29 15:07:45 +00:00
printsupport Merge remote-tracking branch 'origin/5.9' into 5.11 2018-02-14 12:51:24 +01:00
sql QSqlResult: use QVector<int> instead QList<int> for indexes value 2018-03-23 17:03:23 +00:00
testlib Fix win32-clang-msvc build due to -Werror,-Wunused-private-field 2018-03-23 15:16:01 +00:00
tools uic: Add the include for QIcon conditionally 2018-03-06 06:49:00 +00:00
widgets QTableWidget: fix spelling error 2018-03-23 08:16:59 +00:00
winmain Merge remote-tracking branch 'origin/5.10' into dev 2018-01-11 18:10:41 +01:00
xml QDomNode::replaceChild(): Fix documentation typo 2018-03-16 06:34:13 +00:00
src.pro Merge remote-tracking branch 'origin/5.9' into 5.11 2018-02-14 12:51:24 +01:00