From 8ef38186faea3d9b5e6f0f1242f668cb7e7a3d52 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 12 Jun 2000 19:57:02 +0000 Subject: Patch from John Cotton , Charles-Antoine Gauthier , and Darlene A. Stewart to add support for a number of very significant things: + BSPs for many variations on the Motorola MBX8xx board series + Cache Manager including initial support for m68040 and PowerPC + Rework of mpc8xx libcpu code so all mpc8xx CPUs now use same code base. + Rework of eth_comm BSP to utiltize above. John reports this works on the 821 and 860 --- c/src/exec/score/include/rtems/score/thread.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'c/src/exec/score/include/rtems/score/thread.h') diff --git a/c/src/exec/score/include/rtems/score/thread.h b/c/src/exec/score/include/rtems/score/thread.h index 4c8032f558..7739925e66 100644 --- a/c/src/exec/score/include/rtems/score/thread.h +++ b/c/src/exec/score/include/rtems/score/thread.h @@ -733,6 +733,23 @@ Thread_Control *_Thread_Get ( ); #endif +/* + * _Thread_Local_iterate + * + * DESCRIPTION: + * + * This function invokes the callback function for each existing thread. + * Iteration continues until either all threads have been processed, or, + * if break_on_error is TRUE, until an invocation of the callback returns + * an integer value other than 0. + */ + +unsigned32 _Thread_Local_iterate( + unsigned32 (*callback)(Thread_Control *the_thread, void * arg), + void * arg, + boolean break_on_error +); + /* * _Thread_Idle_body * -- cgit v1.2.3