diff --git a/src/lib/sync.hpp b/src/lib/sync.hpp index 76c7c034b..98a9405b7 100644 --- a/src/lib/sync.hpp +++ b/src/lib/sync.hpp @@ -238,7 +238,9 @@ namespace lib { struct Timeout : timespec { - Timeout() { tv_sec=tv_nsec=0; } + Timeout() { reset(); } + + void reset() { tv_sec=tv_nsec=0; } /** initialise to NOW() + offset (in milliseconds) */ Timeout& @@ -254,6 +256,8 @@ namespace lib { tv_sec += tv_nsec / 1000000000; tv_nsec %= 1000000000; } } + else + reset(); return *this; } diff --git a/wiki/thinkPad.ichthyo.mm b/wiki/thinkPad.ichthyo.mm index 6e4ef6083..cc66a8663 100644 --- a/wiki/thinkPad.ichthyo.mm +++ b/wiki/thinkPad.ichthyo.mm @@ -44602,18 +44602,32 @@ - + - - - + + + + + + + + + + + + + + + + +