Changeset 17c66867 in rtems


Ignore:
Timestamp:
08/14/03 20:04:18 (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
75fcb394
Parents:
3fd8dcf4
Message:

2003-08-14 Joel Sherrill <joel@…>

PR 408/filesystem

  • score/Makefile.am, score/include/rtems/score/thread.h: Added sync() service. As part of adding this service, the new RTEMS service rtems_iterate_over_all_threads() was also added. This new service makes it easier to iterate over all the tasks/threads in a system and perform an action on them.
  • score/src/iterateoverthreads.c: New file.
  • ChangeLog?: Fixed screwup.
Location:
cpukit/score
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/ChangeLog

    r3fd8dcf4 r17c66867  
    112003-08-14      Joel Sherrill <joel@OARcorp.com>
    22
    3         * ChangeLog: Add fileio to list of interactive tests.
     3        PR 408/filesystem
     4        * score/Makefile.am, score/include/rtems/score/thread.h: Added
     5        sync() service. As part of adding this service, the
     6        new RTEMS service rtems_iterate_over_all_threads() was also added.
     7        This new service makes it easier to iterate over all the
     8        tasks/threads in a system and perform an action on them.
     9        * score/src/iterateoverthreads.c: New file.
     10        * ChangeLog: Fixed screwup.
    411
    5122003-07-18      Till Straumann <strauman@slac.stanford.edu>
  • cpukit/score/Makefile.am

    r3fd8dcf4 r17c66867  
    143143    src/threadstackallocate.c src/threadstackfree.c src/threadstart.c \
    144144    src/threadstartmultitasking.c src/threadsuspend.c src/threadtickletimeslice.c \
    145     src/threadyieldprocessor.c
     145    src/threadyieldprocessor.c src/iterateoverthreads.c
    146146
    147147THREADQ_C_FILES = src/threadq.c src/threadqdequeue.c src/threadqdequeuefifo.c \
  • cpukit/score/include/rtems/score/thread.h

    r3fd8dcf4 r17c66867  
    764764#endif
    765765
     766/*
     767 *  rtems_iterate_over_all_tasks
     768 *
     769 *  DESCRIPTION:
     770 *
     771 *  This routine iterates over all threads regardless of API and
     772 *  invokes the specified routine.
     773 */
     774 
     775typedef void (*rtems_per_thread_routine)( Thread_Control * );
     776
     777void rtems_iterate_over_all_threads(
     778  rtems_per_thread_routine routine
     779);
     780
    766781#ifndef __RTEMS_APPLICATION__
    767782#include <rtems/score/thread.inl>
Note: See TracChangeset for help on using the changeset viewer.