diff options
Diffstat (limited to 'src/trex_watchdog.h')
-rw-r--r-- | src/trex_watchdog.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/trex_watchdog.h b/src/trex_watchdog.h index f5ea5da2..390b565c 100644 --- a/src/trex_watchdog.h +++ b/src/trex_watchdog.h @@ -168,7 +168,14 @@ public: } void init(bool enable); - + + /** + * get monitor of current thread if registered + * (NULL if not registered) + * + */ + TrexMonitor * get_current_monitor(); + /** * add a monitor to the watchdog * from now on this monitor will be watched |