[Pkg-running-devel] [antpm] 24/48: ant: debug comment, for exiting event threads

Kristof Ralovich ralovich-guest at moszumanska.debian.org
Mon Aug 11 10:10:32 UTC 2014


This is an automated email from the git hooks/post-receive script.

ralovich-guest pushed a commit to branch upstream
in repository antpm.

commit e63065ae268d77f55fc0c2aa9f513d7bb2077dab
Author: RALOVICH, Kristof <tade60 at freemail.hu>
Date:   Wed Mar 26 14:28:34 2014 +0100

    ant: debug comment, for exiting event threads
---
 src/AntFr310XT.cpp   | 2 ++
 src/AntMessenger.cpp | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/src/AntFr310XT.cpp b/src/AntFr310XT.cpp
index 5315b46..d99ab34 100644
--- a/src/AntFr310XT.cpp
+++ b/src/AntFr310XT.cpp
@@ -261,10 +261,12 @@ AntFr310XT::th_eventLoop()
       sleepms(1000);
     }
   }
+  lprintf(LOG_DBG2, "~%s\n", __FUNCTION__);
   return 0;
 }
 
 
+/// Return true if event was handled according to the State Machine, false otherwise.
 bool
 AntFr310XT::handleEvents()
 {
diff --git a/src/AntMessenger.cpp b/src/AntMessenger.cpp
index dbaa40b..d59a705 100644
--- a/src/AntMessenger.cpp
+++ b/src/AntMessenger.cpp
@@ -854,6 +854,7 @@ AntMessenger::ANTFS_Direct(const uchar chan, const uint64_t code, std::vector<ui
 void AntMessenger::eventLoop()
 {
   m_rpackQueue2.eventLoop();
+  lprintf(LOG_DBG2, "~%s\n", __FUNCTION__);
 }
 
 void AntMessenger::kill()
@@ -1189,6 +1190,7 @@ AntMessenger::th_messageHandler()
   {
     lprintf(antpm::LOG_WARN, "%d remaining uninterpreted bytes\n", (int)q.size());
   }
+  lprintf(LOG_DBG2, "~%s\n", __FUNCTION__);
   return NULL;
 }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-running/antpm.git



More information about the Pkg-running-devel mailing list