diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2019-04-29 15:52:24 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-04-29 15:52:24 +0200 |
commit | b061108a1e98ed1d1f869f4e71fe35373515b2a0 (patch) | |
tree | eebfaa427b31a07083d863b8d13e8ec56d543971 /tracker-pt/ftnoir_tracker_pt.cpp | |
parent | 00a1a3d81b82a411cd8cbdf5a480c4007b2b60bc (diff) |
compat: allow naming threads for debugging
Diffstat (limited to 'tracker-pt/ftnoir_tracker_pt.cpp')
-rw-r--r-- | tracker-pt/ftnoir_tracker_pt.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tracker-pt/ftnoir_tracker_pt.cpp b/tracker-pt/ftnoir_tracker_pt.cpp index 73112522..d7484e9c 100644 --- a/tracker-pt/ftnoir_tracker_pt.cpp +++ b/tracker-pt/ftnoir_tracker_pt.cpp @@ -10,6 +10,7 @@ #include "video/video-widget.hpp" #include "compat/math-imports.hpp" #include "compat/check-visible.hpp" +#include "compat/thread-name.hpp" #include "pt-api.hpp" @@ -51,6 +52,8 @@ Tracker_PT::~Tracker_PT() void Tracker_PT::run() { + portable::set_curthread_name("tracker/pt"); + maybe_reopen_camera(); while(!isInterruptionRequested()) |