summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/thread.hpp
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2020-10-08 19:12:20 +1100
committerChris Johns <chrisj@rtems.org>2020-10-09 10:46:25 +1100
commit6f2a219f573b05c869c14840625b6c1e86f9d718 (patch)
tree946bb7245747acc8c3150dd8dd1baabacc7d4fd5 /cpukit/include/rtems/thread.hpp
parentbsps/include/bsp/fatal.h: Add GRLIB specific fatal error (diff)
downloadrtems-6f2a219f573b05c869c14840625b6c1e86f9d718.tar.bz2
librtemscxx: Add join() and detach() to the thread
- Do not start threads detached
Diffstat (limited to 'cpukit/include/rtems/thread.hpp')
-rw-r--r--cpukit/include/rtems/thread.hpp4
1 files changed, 4 insertions, 0 deletions
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.
*/