diff options
author | christian mueller <christian.ei.mueller@bmw.de> | 2011-12-29 17:07:38 +0100 |
---|---|---|
committer | christian mueller <christian.ei.mueller@bmw.de> | 2011-12-30 03:08:00 +0100 |
commit | 93d7610b460c6212a3098a3eccb127fd45ada345 (patch) | |
tree | 0e00544ede90f06dd9933c003c4b7cc72f964af3 /PluginRoutingInterfaceAsync/src | |
parent | b7e748007bbe0b16fa8a8a089c6cc8fe43bc7aac (diff) | |
download | audiomanager-93d7610b460c6212a3098a3eccb127fd45ada345.tar.gz |
*added versioning support automatically out of git
*added commandline parser
*changed DLT_CONTEXT for AudioManager to AudioManager
*added signalhandler
*TODO: make signalhandler not only call but correctly rundown the daemon
Diffstat (limited to 'PluginRoutingInterfaceAsync/src')
-rw-r--r-- | PluginRoutingInterfaceAsync/src/RoutingSenderAsync.cpp | 9 |
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); |