From aefa611f0ceac2a945cc7df15683c5072e21153f Mon Sep 17 00:00:00 2001 From: Denis Shienkov Date: Fri, 22 Nov 2013 15:29:34 +0400 Subject: QWinOverlappedIoNotifier: Add an extended waitForAnyNotified() method The existing waitForNotified method has the design limitation that it doesn't allow the tracking of multiple I/O operations on a single file handle. Therefore we introduce an additional method waitForAnyNotified that returns a pointer to the triggered OVERLAPPED object. Change-Id: I536ed7f6828daa2b0ce03f2d662eeb10aa89ca99 Reviewed-by: Oswald Buddenhagen Reviewed-by: Joerg Bornemann --- src/corelib/io/qwinoverlappedionotifier_p.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/corelib/io/qwinoverlappedionotifier_p.h') diff --git a/src/corelib/io/qwinoverlappedionotifier_p.h b/src/corelib/io/qwinoverlappedionotifier_p.h index f90fd2e615..25c0f3a081 100644 --- a/src/corelib/io/qwinoverlappedionotifier_p.h +++ b/src/corelib/io/qwinoverlappedionotifier_p.h @@ -76,6 +76,7 @@ public: Qt::HANDLE handle() const; void setEnabled(bool enabled); + OVERLAPPED *waitForAnyNotified(int msecs); bool waitForNotified(int msecs, OVERLAPPED *overlapped); Q_SIGNALS: -- cgit v1.2.3