From d271c3bb78f86dd9417a964b019b8e38911064fa Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 31 Oct 2016 13:37:59 +0100 Subject: rtems: Add rtems_task_iterate() Update #2423. --- cpukit/score/include/rtems/score/thread.h | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'cpukit/score/include/rtems/score/thread.h') diff --git a/cpukit/score/include/rtems/score/thread.h b/cpukit/score/include/rtems/score/thread.h index a86d81b4e2..d839b1f9ec 100644 --- a/cpukit/score/include/rtems/score/thread.h +++ b/cpukit/score/include/rtems/score/thread.h @@ -834,18 +834,12 @@ void *_Thread_Idle_body( ); #endif -/** This defines the type for a method which operates on a single thread. - */ typedef void (*rtems_per_thread_routine)( Thread_Control * ); -/** - * @brief Iterates over all threads. - * This routine iterates over all threads regardless of API and - * invokes the specified routine. - */ +/* Use rtems_task_iterate() instead */ void rtems_iterate_over_all_threads( rtems_per_thread_routine routine -); +) RTEMS_DEPRECATED; /** * @brief Thread control add-on. -- cgit v1.2.3