Added enough prototypes to allow most of POSIX Threads Manager to be

split into multiple files.
This commit is contained in:
Joel Sherrill
1999-01-25 23:20:39 +00:00
parent 94b3ee1366
commit 535db3ae0c
2 changed files with 52 additions and 0 deletions

View File

@@ -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>

View File

@@ -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>