summaryrefslogtreecommitdiff
path: root/daemons/gptp/common/common_port.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'daemons/gptp/common/common_port.hpp')
-rw-r--r--daemons/gptp/common/common_port.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/daemons/gptp/common/common_port.hpp b/daemons/gptp/common/common_port.hpp
index f4fc439e..64418829 100644
--- a/daemons/gptp/common/common_port.hpp
+++ b/daemons/gptp/common/common_port.hpp
@@ -451,10 +451,10 @@ protected:
IEEE1588Clock * clock;
const bool isGM;
- OSThread *listening_thread;
- OSThread *link_thread;
- OSThread *eventThread;
- OSThread *generalThread;
+ std::shared_ptr<OSThread> listening_thread;
+ std::shared_ptr<OSThread> link_thread;
+ std::shared_ptr<OSThread> eventThread;
+ std::shared_ptr<OSThread> generalThread;
phy_delay_map_t const * const phy_delay;