summaryrefslogtreecommitdiffstats
path: root/src/widgets/widgets/qmenu_p.h
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/widgets/widgets/qmenu_p.h
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/widgets/widgets/qmenu_p.h')
0 files changed, 0 insertions, 0 deletions