summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/kernel.pri
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2017-06-12 14:37:39 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2017-06-26 05:05:38 +0000
commit5c6210e3452f78cab2f58887e747eb5cb2501f70 (patch)
treebc310dfa08032700155682f7b920c89ea6bd8a1d /src/corelib/kernel/kernel.pri
parent58d3a3eda271ad696d5df6f16b09bad97f9b54a1 (diff)
Support more than 62 instances of QWinEventNotifier
QWinEventNotifiers were limited to 62 instances, because of WaitForMultipleObject's limitation to MAXIMUM_WAIT_OBJECTS - 1 handles. Use the RegisterWaitForSingleObject API which does not have this restriction and executes waits in threads managed by the system. A central manual reset event per event dispatcher is signaled in the RegisterWaitForSingleObject callback and waited for in the event loop. [ChangeLog][QtCore][QWinEventNotifier] QWinEventNotifier is not restricted to 62 instances anymore. Task-number: QTBUG-8819 Change-Id: I2c749951453a4b699cc50dada0d6017440b67a4a Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'src/corelib/kernel/kernel.pri')
-rw-r--r--src/corelib/kernel/kernel.pri3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/corelib/kernel/kernel.pri b/src/corelib/kernel/kernel.pri
index 29bd5bbc6c..8abe9b2b44 100644
--- a/src/corelib/kernel/kernel.pri
+++ b/src/corelib/kernel/kernel.pri
@@ -79,7 +79,8 @@ win32 {
kernel/qsharedmemory_win.cpp \
kernel/qsystemsemaphore_win.cpp
HEADERS += \
- kernel/qwineventnotifier.h
+ kernel/qwineventnotifier.h \
+ kernel/qwineventnotifier_p.h
winrt {
SOURCES += kernel/qeventdispatcher_winrt.cpp