From 6f2a219f573b05c869c14840625b6c1e86f9d718 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Thu, 8 Oct 2020 19:12:20 +1100 Subject: librtemscxx: Add join() and detach() to the thread - Do not start threads detached --- cpukit/include/rtems/thread.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cpukit/include/rtems/thread.hpp') diff --git a/cpukit/include/rtems/thread.hpp b/cpukit/include/rtems/thread.hpp index e90e664dfa..fb408f60c0 100644 --- a/cpukit/include/rtems/thread.hpp +++ b/cpukit/include/rtems/thread.hpp @@ -321,6 +321,10 @@ namespace rtems bool joinable() const noexcept; + void join(); + + void detach(); + /* * Constrain use. These are not available. */ -- cgit v1.2.3