diff options
author | Mavridis Philippe <mavridisf@gmail.com> | 2024-07-26 19:37:27 +0300 |
---|---|---|
committer | Mavridis Philippe <mavridisf@gmail.com> | 2024-07-26 19:37:27 +0300 |
commit | a74979eff791cc86b90f5e418bae046b249e01e1 (patch) | |
tree | 61ad07c21cdea6ac7028bd108e6bde42f793de37 /src/tqdbusconnection_p.h | |
parent | 39160735cee72c3e5a3e8d672fd9f6cd39278c53 (diff) | |
download | dbus-1-tqt-feat/dispatcher-thread.tar.gz dbus-1-tqt-feat/dispatcher-thread.zip |
Add dispatcher thread implementation.feat/dispatcher-thread
This should fix the endless dispatcher loop which throttled CPU usage to 100%.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'src/tqdbusconnection_p.h')
-rw-r--r-- | src/tqdbusconnection_p.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tqdbusconnection_p.h b/src/tqdbusconnection_p.h index 48cd623..2c42184 100644 --- a/src/tqdbusconnection_p.h +++ b/src/tqdbusconnection_p.h @@ -50,6 +50,7 @@ #include "tqdbusmessage.h" class TQT_DBusMessage; +class TQT_DBusDispatcher; class TQSocketNotifier; class TQTimer; class TQTimerEvent; @@ -117,7 +118,7 @@ public: DBusConnection *connection; DBusServer *server; - TQTimer* dispatcher; + TQT_DBusDispatcher* dispatcher; static int messageMetaType; static int registerMessageMetaType(); |