RTEMS  5.0.0
threadsup.h
Go to the documentation of this file.
1 
9 /*
10  * COPYRIGHT (c) 1989-2014.
11  * On-Line Applications Research Corporation (OAR).
12  *
13  * The license and distribution terms for this file may be
14  * found in the file LICENSE in this distribution or at
15  * http://www.rtems.org/license/LICENSE.
16  */
17 
18 #ifndef _RTEMS_POSIX_THREADSUP_H
19 #define _RTEMS_POSIX_THREADSUP_H
20 
21 #include <rtems/score/thread.h>
22 #include <rtems/score/watchdog.h>
23 
24 #include <pthread.h>
25 #include <signal.h>
26 
34 #ifdef __cplusplus
35 extern "C" {
36 #endif
37 
38 #if defined(RTEMS_POSIX_API)
39 
43 typedef struct {
47  struct {
49  Thread_Control *thread;
50 
55  Watchdog_Control Timer;
56 
61  Priority_Node Low_priority;
62 
66  struct timespec sched_ss_repl_period;
67 
71  struct timespec sched_ss_init_budget;
72 
78  int sched_ss_max_repl;
79  } Sporadic;
80 
82  sigset_t signals_unblocked;
84  sigset_t signals_pending;
85 
89  Thread_Action Signal_action;
90 } POSIX_API_Control;
91 #endif
92 
95 #ifdef __cplusplus
96 }
97 #endif
98 
99 #endif
100 /* end of include file */
The priority node to build up a priority aggregation.
Definition: priority.h:94
The control block used to manage each watchdog timer.
Definition: watchdog.h:87
POSIX Threads Private Support.
Definition: thread.h:728
Thread action.
Definition: thread.h:636
Constants and Structures Associated with Watchdog Timers.
Constants and Structures Related with the Thread Control Block.