summaryrefslogtreecommitdiff
path: root/daemons/gptp/common/common_port.hpp
diff options
context:
space:
mode:
authorRich Roussel <rroussel@artandlogic.com>2018-01-08 07:54:07 -0800
committerRich Roussel <rroussel@artandlogic.com>2018-01-08 07:54:07 -0800
commita5d7f944368e29c6ca4350b5b005fc2cfedc722c (patch)
tree0733defd62ab4431327d1daca48c93fcd886e82c /daemons/gptp/common/common_port.hpp
parent089caa10510ee833e41d5e7183333b4aeb3a7b7e (diff)
parent5d2c90034a3eec9c8ea97bcc7d5f86438c86e29d (diff)
downloadOpen-AVB-feature-aptp-experimental.tar.gz
Merge branch 'ArtAndLogic-aPTP-changes' of ../../gitlab/ApplePi into ArtAndLogic-aPTP-changesfeature-aptp-experimental
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;