commit | 6cb0c391e7654e44795e43f9a7bb92c1aee74f95 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Oct 08 14:48:30 2021 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Oct 08 17:22:26 2021 +0200 |
tree | 4a95797047644e85607ad118d1837091a2967814 | |
parent | 44c58da52f741ebdddaf873561f5d7e827117600 [diff] |
REORG: clock/wdt: move wdt timer initialization to clock.c The code that deals with timer creation for the WDT was moved to clock.c and is called with the few relevant arguments. This removes the need for awareness of clock_id from wdt.c and as such saves us from having to share it outside. The timer_t is also known only from both ends but not from the public API so that we don't have to create a fake timer_t anymore on systems which do not support it (e.g. macos).