From 232147ddc12d45ff7872f72a790077c26fe5ca0a Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 13 May 2016 07:04:13 +0200 Subject: 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. --- cpukit/score/include/rtems/score/threadimpl.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'cpukit/score/include/rtems/score/threadimpl.h') 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. * -- cgit v1.2.3