summaryrefslogtreecommitdiffstats
path: root/src/corelib/thread/qfutex_p.h
Commit message (Collapse)AuthorAgeFilesLines
* Add the "we mean it" warning to qfutex_p.hMÃ¥rten Nordheim2017-09-221-0/+11
| | | | | Change-Id: I77a0899532e2a38fa390991bbad11300672544bf Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
* Port QSemaphore to use futexesThiago Macieira2017-09-181-9/+12
| | | | | | | | This is interesting because QSemaphore now needs to allocate no memory: it's just a simple 31-bit counter and the contention flag. Change-Id: I6e9274c1e7444ad48c81fffd14dbc0ab42bc2e00 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* Move the futex implementation to a headerThiago Macieira2017-09-181-0/+128
So I can use it in QSemaphore and provide a Windows implementation. Change-Id: I6e9274c1e7444ad48c81fffd14dbc0a8e2201302 Reviewed-by: Lars Knoll <lars.knoll@qt.io>