diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2017-08-17 14:52:22 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2017-09-18 17:39:09 +0000 |
commit | 9378bce442c523079d76cfdfcab5950d78802c9c (patch) | |
tree | 4e433c880f8b8c22e6dfe2fdd1aa31a317e4aac1 /src/corelib/global | |
parent | 5b5153fd5b6cc5852e4b682d1bc4a5c7979f242d (diff) |
Port QSemaphore to use futexes
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>
Diffstat (limited to 'src/corelib/global')
-rw-r--r-- | src/corelib/global/minimum-linux.S | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/global/minimum-linux.S b/src/corelib/global/minimum-linux.S index 6b7fb4f63b..c3261288c2 100644 --- a/src/corelib/global/minimum-linux.S +++ b/src/corelib/global/minimum-linux.S @@ -81,6 +81,7 @@ * Feature Added in version Macro * - inotify_init1 before 2.6.12-rc12 * - futex(2) before 2.6.12-rc12 + * - FUTEX_WAKE_OP 2.6.14 FUTEX_OP * - linkat(2) 2.6.17 O_TMPFILE * - FUTEX_PRIVATE_FLAG 2.6.22 * - O_CLOEXEC 2.6.23 |