diff options
author | Chris Johns <chrisj@rtems.org> | 2020-10-08 19:12:20 +1100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2020-10-09 10:46:25 +1100 |
commit | 6f2a219f573b05c869c14840625b6c1e86f9d718 (patch) | |
tree | 946bb7245747acc8c3150dd8dd1baabacc7d4fd5 /cpukit/include/rtems/thread.hpp | |
parent | bsps/include/bsp/fatal.h: Add GRLIB specific fatal error (diff) | |
download | rtems-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.hpp | 4 |
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. */ |