From fdcb2b52b7c1fd0acc2d29f72b8316f732870bef Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 14 Jun 2000 13:38:47 +0000 Subject: Thread iterator and libgjc support submitted too early. --- cpukit/score/include/rtems/score/object.h | 34 ------------------------------- cpukit/score/include/rtems/score/thread.h | 17 ---------------- cpukit/score/src/Makefile.am | 19 ++++++++--------- 3 files changed, 9 insertions(+), 61 deletions(-) (limited to 'cpukit/score') diff --git a/cpukit/score/include/rtems/score/object.h b/cpukit/score/include/rtems/score/object.h index 7640dce3d3..811e33a17e 100644 --- a/cpukit/score/include/rtems/score/object.h +++ b/cpukit/score/include/rtems/score/object.h @@ -443,21 +443,6 @@ Objects_Control *_Objects_Get ( Objects_Locations *location ); -/* - * _Objects_Get_by_index - * - * DESCRIPTION: - * - * This routine sets the object pointer for the given - * object id based on the given object information structure. - */ - -Objects_Control *_Objects_Get_by_index( - Objects_Information *information, - unsigned32 index, - Objects_Locations *location -); - /* * _Objects_Get_next * @@ -474,25 +459,6 @@ Objects_Control *_Objects_Get_next( Objects_Id *next_id_p ); -/* - * _Objects_Local_iterate - * - * DESCRIPTION: - * - * This function invokes the callback function for each existing object - * of the type specified by the information block pointer. Iteration - * continues until either all objects have been processed, or, if - * break_on_error is TRUE, until an invocation of the callback returns - * something other than 0. - */ - -unsigned32 _Objects_Local_iterate( - Objects_Information *information, - unsigned32 (*callback)(Objects_Control *object, void * arg), - void * arg, - boolean break_on_error -); - /* * Pieces of object.inl are promoted out to the user */ diff --git a/cpukit/score/include/rtems/score/thread.h b/cpukit/score/include/rtems/score/thread.h index 7739925e66..4c8032f558 100644 --- a/cpukit/score/include/rtems/score/thread.h +++ b/cpukit/score/include/rtems/score/thread.h @@ -733,23 +733,6 @@ 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 * diff --git a/cpukit/score/src/Makefile.am b/cpukit/score/src/Makefile.am index 97a2597cda..c348a606f1 100644 --- a/cpukit/score/src/Makefile.am +++ b/cpukit/score/src/Makefile.am @@ -27,18 +27,17 @@ OBJECT_C_FILES = object.c objectallocate.c objectallocatebyindex.c \ objectclearname.c objectcomparenameraw.c objectcomparenamestring.c \ objectcopynameraw.c objectcopynamestring.c objectextendinformation.c \ objectfree.c objectget.c objectgetbyindex.c objectgetnext.c \ - objectinitializeinformation.c objectlocaliterate.c objectnametoid.c \ - objectshrinkinformation.c + objectinitializeinformation.c objectnametoid.c objectshrinkinformation.c THREAD_C_FILES = thread.c threadchangepriority.c threadclearstate.c \ threadclose.c threadcreateidle.c threaddelayended.c threaddispatch.c \ threadevaluatemode.c threadget.c threadhandler.c threadidlebody.c \ - threadinitialize.c threadloadenv.c threadlocaliterate.c threadready.c \ - threadresettimeslice.c threadreset.c threadrestart.c threadresume.c \ - threadrotatequeue.c threadsetpriority.c threadsetstate.c \ - threadsettransient.c threadstackallocate.c threadstackfree.c \ - threadstart.c threadstartmultitasking.c threadsuspend.c \ - threadtickletimeslice.c threadyieldprocessor.c + threadinitialize.c threadloadenv.c threadready.c threadresettimeslice.c \ + threadreset.c threadrestart.c threadresume.c threadrotatequeue.c \ + threadsetpriority.c threadsetstate.c threadsettransient.c \ + threadstackallocate.c threadstackfree.c threadstart.c \ + threadstartmultitasking.c threadsuspend.c threadtickletimeslice.c \ + threadyieldprocessor.c THREADQ_C_FILES = threadq.c threadqdequeue.c threadqdequeuefifo.c \ threadqdequeuepriority.c threadqenqueue.c threadqenqueuefifo.c \ @@ -54,8 +53,8 @@ WATCHDOG_C_FILES = watchdog.c watchdogadjust.c watchdoginsert.c \ watchdogremove.c watchdogtickle.c STD_C_FILES = apiext.c chain.c $(CORE_MESSAGE_QUEUE_C_FILES) \ - $(CORE_MUTEX_C_FILES) $(CORE_SEMAPHORE_C_FILES) $(HEAP_C_FILES) \ - interr.c isr.c $(OBJECT_C_FILES) $(THREAD_C_FILES) $(THREADQ_C_FILES) \ + $(CORE_MUTEX_C_FILES) $(CORE_SEMAPHORE_C_FILES) $(HEAP_C_FILES) interr.c \ + isr.c $(OBJECT_C_FILES) $(THREAD_C_FILES) $(THREADQ_C_FILES) \ $(TOD_C_FILES) userext.c $(WATCHDOG_C_FILES) wkspace.c if HAS_MP -- cgit v1.2.3