RTEMS Logo

RTEMS 4.9.3 On-Line Library


Task Manager ITERATE_OVER_ALL_THREADS - Iterate Over Tasks

PREV UP NEXT Bookshelf RTEMS Ada User's Guide

5.4.16: ITERATE_OVER_ALL_THREADS - Iterate Over Tasks

CALLING SEQUENCE:

NOT SUPPORTED FROM Ada BINDING

DIRECTIVE STATUS CODES: NONE

DESCRIPTION:

This directive iterates over all of the existant threads in the system and invokes routine on each of them. The user should be careful in accessing the contents of the_thread.

This routine is intended for use in diagnostic utilities and is not intented for routine use in an operational system.

NOTES:

There is NO protection while this routine is called. Thus it is possible that the_thread could be deleted while this is operating. By not having protection, the user is free to invoke support routines from the C Library which require semaphores for data structures.


PREV UP NEXT Bookshelf RTEMS Ada User's Guide

Copyright © 1988-2008 OAR Corporation