summaryrefslogtreecommitdiff
path: root/PluginRoutingInterfaceAsync/src/RoutingSenderAsync.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'PluginRoutingInterfaceAsync/src/RoutingSenderAsync.cpp')
-rw-r--r--PluginRoutingInterfaceAsync/src/RoutingSenderAsync.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/PluginRoutingInterfaceAsync/src/RoutingSenderAsync.cpp b/PluginRoutingInterfaceAsync/src/RoutingSenderAsync.cpp
index 8c1d50a..fcf017e 100644
--- a/PluginRoutingInterfaceAsync/src/RoutingSenderAsync.cpp
+++ b/PluginRoutingInterfaceAsync/src/RoutingSenderAsync.cpp
@@ -34,6 +34,8 @@
#include <string>
#include <dbus/dbus.h>
+
+
using namespace am;
DLT_DECLARE_CONTEXT(PluginRoutingAsync)
@@ -359,12 +361,11 @@ void AsyncRoutingSender::routingInterfacesReady()
// gatewayIter->gatewayID=gatewayID;
// }
- //create thread for interrupts:
- pthread_create(&mInterruptThread,NULL,&AsyncRoutingSender::InterruptEvents,&mShadow);
+ //create thread for interrupts, but only if we are testing - otherwise we get 100% cpu load:
+ //todo: find a solution for the 100% dbus load to uncomment this and make interrupt tests work
+ //pthread_create(&mInterruptThread,NULL,&AsyncRoutingSender::InterruptEvents,&mShadow);
}
-
-
void AsyncRoutingSender::routingInterfacesRundown()
{
assert(mReceiveInterface!=0);