Bart Veldhuijzen
09/22/2008 5:54 AM
post13744
|
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?
|
|
|