Removed usage of pipe in Blackberry event dispatcher
authorBernd Weimer <bweimer@rim.com>
Thu, 25 Oct 2012 08:53:35 +0000 (10:53 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 26 Oct 2012 18:49:01 +0000 (20:49 +0200)
commit9dacccd0391219c97c01e89f0547ee002abb1e55
treeb4cd67e92c782878c220d622a581fb1ebda683c4
parent02dacc2c064339f557101db98bd40ace361e1bb6
Removed usage of pipe in Blackberry event dispatcher

Using a pipe for thread wake-ups is inefficient and can introduce significant
latency. Replaced the pipe by directly sending a BPS event.

Refactored the wake-up code in the private class of the UNIX event dispatcher.

Change-Id: Ic073b0b56c3cbf8327fc6bc3c37132cc3583ef86
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com>
src/corelib/kernel/qeventdispatcher_blackberry.cpp
src/corelib/kernel/qeventdispatcher_blackberry_p.h
src/corelib/kernel/qeventdispatcher_unix.cpp
src/corelib/kernel/qeventdispatcher_unix_p.h