diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-05-13 07:04:13 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-05-20 07:49:37 +0200 |
commit | 232147ddc12d45ff7872f72a790077c26fe5ca0a (patch) | |
tree | 8f109308063147a5340b49141890837b10c645ff /cpukit/score/include/rtems/score/threadimpl.h | |
parent | score: Rework _Thread_Exit() (diff) | |
download | rtems-232147ddc12d45ff7872f72a790077c26fe5ca0a.tar.bz2 |
score: Add _Thread_Join() and _Thread_Cancel()
Split _Thread_Close() into _Thread_Join() and _Thread_Cancel() to
prepare for a re-use in pthread_join() and pthread_cancel().
Update #2555.
Update #2626.
Diffstat (limited to 'cpukit/score/include/rtems/score/threadimpl.h')
-rw-r--r-- | cpukit/score/include/rtems/score/threadimpl.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cpukit/score/include/rtems/score/threadimpl.h b/cpukit/score/include/rtems/score/threadimpl.h index e68f1191f8..eee896dd4b 100644 --- a/cpukit/score/include/rtems/score/threadimpl.h +++ b/cpukit/score/include/rtems/score/threadimpl.h @@ -213,6 +213,15 @@ void _Thread_Kill_zombies( void ); void _Thread_Exit( Thread_Control *executing ); +void _Thread_Join( + Thread_Control *the_thread, + States_Control waiting_for_join, + Thread_Control *executing, + ISR_lock_Context *lock_context +); + +void _Thread_Cancel( Thread_Control *the_thread, Thread_Control *executing ); + /** * @brief Closes the thread. * |