Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - TimerTree: Page 1 of 4 (4 Items)
   
TimerTree  
I'm trying to use a timertree for some watchdogs.
In this particular case I have 3 producers which all three have a watchdog with a certain timeout. Each instance of the 
watchdog does a Set(fire, sigc::mem_fun(*this, &Watchdog::run)). And here it goes wrong. 

fire is ofcourse a PosixAPI::Timer::Reltime with different times. Set returns a timernode, but for each set it returns 
the same timernode. This should be different nodes because the timestamps are different.
When I examine the timertree, it indeed has only 1 node with 3 callbacks, instead of 3 nodes, with each 1 callback.

I can't figure out where exactly it goes wrong. Maybe somebody can get me on the right track?