Changeset a11b98c in rtems


Ignore:
Timestamp:
Nov 8, 2018, 12:12:32 PM (6 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
98c01a5
Parents:
742d6db
git-author:
Sebastian Huber <sebastian.huber@…> (11/08/18 12:12:32)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/12/18 12:25:41)
Message:

score: Avoid include of <rtems/score/thread.h>

Update #3598.

Location:
cpukit/include/rtems/score
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/include/rtems/score/userext.h

    r742d6db ra11b98c  
    2121#include <rtems/score/interr.h>
    2222#include <rtems/score/chain.h>
    23 #include <rtems/score/thread.h>
    2423
    2524#ifdef __cplusplus
    2625extern "C" {
    2726#endif
     27
     28struct _Thread_Control;
    2829
    2930typedef void User_extensions_routine RTEMS_DEPRECATED;
     
    7071 */
    7172typedef bool ( *User_extensions_thread_create_extension )(
    72   Thread_Control *executing,
    73   Thread_Control *created
     73  struct _Thread_Control *executing,
     74  struct _Thread_Control *created
    7475);
    7576
     
    9091 */
    9192typedef void( *User_extensions_thread_delete_extension )(
    92   Thread_Control *executing,
    93   Thread_Control *deleted
     93  struct _Thread_Control *executing,
     94  struct _Thread_Control *deleted
    9495);
    9596
     
    110111 */
    111112typedef void( *User_extensions_thread_start_extension )(
    112   Thread_Control *executing,
    113   Thread_Control *started
     113  struct _Thread_Control *executing,
     114  struct _Thread_Control *started
    114115);
    115116
     
    132133 */
    133134typedef void( *User_extensions_thread_restart_extension )(
    134   Thread_Control *executing,
    135   Thread_Control *restarted
     135  struct _Thread_Control *executing,
     136  struct _Thread_Control *restarted
    136137);
    137138
     
    155156 */
    156157typedef void( *User_extensions_thread_switch_extension )(
    157   Thread_Control *executing,
    158   Thread_Control *heir
     158  struct _Thread_Control *executing,
     159  struct _Thread_Control *heir
    159160);
    160161
     
    170171 */
    171172typedef void( *User_extensions_thread_begin_extension )(
    172   Thread_Control *executing
     173  struct _Thread_Control *executing
    173174);
    174175
     
    184185 */
    185186typedef void( *User_extensions_thread_exitted_extension )(
    186   Thread_Control *executing
     187  struct _Thread_Control *executing
    187188);
    188189
     
    224225 */
    225226typedef void( *User_extensions_thread_terminate_extension )(
    226   Thread_Control *terminated
     227  struct _Thread_Control *terminated
    227228);
    228229
  • cpukit/include/rtems/score/userextimpl.h

    r742d6db ra11b98c  
    2020
    2121#include <rtems/score/userext.h>
     22#include <rtems/score/chainimpl.h>
    2223#include <rtems/score/isrlock.h>
    23 #include <rtems/score/chainimpl.h>
     24#include <rtems/score/thread.h>
    2425#include <rtems/score/percpu.h>
    2526
Note: See TracChangeset for help on using the changeset viewer.