summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--c/src/exec/posix/include/rtems/posix/pthread.h26
-rw-r--r--cpukit/posix/include/rtems/posix/pthread.h26
2 files changed, 52 insertions, 0 deletions
diff --git a/c/src/exec/posix/include/rtems/posix/pthread.h b/c/src/exec/posix/include/rtems/posix/pthread.h
index 46e5834385..17402b8acd 100644
--- a/c/src/exec/posix/include/rtems/posix/pthread.h
+++ b/c/src/exec/posix/include/rtems/posix/pthread.h
@@ -41,6 +41,7 @@ POSIX_EXTERN posix_initialization_threads_table
*_POSIX_Threads_User_initialization_threads;
POSIX_EXTERN unsigned32 _POSIX_Threads_Number_of_initialization_threads;
+extern const pthread_attr_t _POSIX_Threads_Default_attributes;
/*
* _POSIX_Threads_Manager_initialization
@@ -111,6 +112,31 @@ RTEMS_INLINE_ROUTINE boolean _POSIX_Threads_Is_null(
Thread_Control *the_pthread
);
+/*
+ * _POSIX_Threads_Sporadic_budget_callout
+ *
+ * DESCRIPTION:
+ *
+ * This routine handles the sporadic scheduling algorithm.
+ */
+
+void _POSIX_Threads_Sporadic_budget_callout(
+ Thread_Control *the_thread
+);
+
+/*
+ * _POSIX_Threads_Sporadic_budget_TSR
+ *
+ * DESCRIPTION:
+ *
+ * This routine supports the sporadic scheduling algorithm.
+ */
+
+void _POSIX_Threads_Sporadic_budget_TSR(
+ Objects_Id id,
+ void *argument
+);
+
#include <rtems/posix/pthread.inl>
#if defined(RTEMS_MULTIPROCESSING)
#include <rtems/posix/pthreadmp.h>
diff --git a/cpukit/posix/include/rtems/posix/pthread.h b/cpukit/posix/include/rtems/posix/pthread.h
index 46e5834385..17402b8acd 100644
--- a/cpukit/posix/include/rtems/posix/pthread.h
+++ b/cpukit/posix/include/rtems/posix/pthread.h
@@ -41,6 +41,7 @@ POSIX_EXTERN posix_initialization_threads_table
*_POSIX_Threads_User_initialization_threads;
POSIX_EXTERN unsigned32 _POSIX_Threads_Number_of_initialization_threads;
+extern const pthread_attr_t _POSIX_Threads_Default_attributes;
/*
* _POSIX_Threads_Manager_initialization
@@ -111,6 +112,31 @@ RTEMS_INLINE_ROUTINE boolean _POSIX_Threads_Is_null(
Thread_Control *the_pthread
);
+/*
+ * _POSIX_Threads_Sporadic_budget_callout
+ *
+ * DESCRIPTION:
+ *
+ * This routine handles the sporadic scheduling algorithm.
+ */
+
+void _POSIX_Threads_Sporadic_budget_callout(
+ Thread_Control *the_thread
+);
+
+/*
+ * _POSIX_Threads_Sporadic_budget_TSR
+ *
+ * DESCRIPTION:
+ *
+ * This routine supports the sporadic scheduling algorithm.
+ */
+
+void _POSIX_Threads_Sporadic_budget_TSR(
+ Objects_Id id,
+ void *argument
+);
+
#include <rtems/posix/pthread.inl>
#if defined(RTEMS_MULTIPROCESSING)
#include <rtems/posix/pthreadmp.h>