forked from Imagelibrary/rtems
2011-12-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/include/rtems/posix/pthread.h: Add _POSIX_Threads_Initialize_user_threads_body. * rtems/include/rtems/rtems/tasks.h: Add _RTEMS_tasks_Initialize_user_tasks_body. * sapi/include/confdefs.h: Remove conditional, nested redeclaration of _POSIX_Threads_Initialize_user_threads_body, _RTEMS_tasks_Initialize_user_tasks_body.
This commit is contained in:
@@ -1,3 +1,13 @@
|
|||||||
|
2011-12-05 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
|
* posix/include/rtems/posix/pthread.h:
|
||||||
|
Add _POSIX_Threads_Initialize_user_threads_body.
|
||||||
|
* rtems/include/rtems/rtems/tasks.h:
|
||||||
|
Add _RTEMS_tasks_Initialize_user_tasks_body.
|
||||||
|
* sapi/include/confdefs.h: Remove conditional, nested redeclaration of
|
||||||
|
_POSIX_Threads_Initialize_user_threads_body,
|
||||||
|
_RTEMS_tasks_Initialize_user_tasks_body.
|
||||||
|
|
||||||
2011-12-05 Ralf Corsépius <ralf.corsepius@rtems.org>
|
2011-12-05 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
* libmisc/shell/shell.h: Add rtems_shell_main_monitor.
|
* libmisc/shell/shell.h: Add rtems_shell_main_monitor.
|
||||||
|
|||||||
@@ -165,6 +165,14 @@ int _POSIX_Thread_Translate_sched_param(
|
|||||||
Thread_CPU_budget_algorithm_callout *budget_callout
|
Thread_CPU_budget_algorithm_callout *budget_callout
|
||||||
);
|
);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief _POSIX_Threads_Initialize_user_threads_body
|
||||||
|
*
|
||||||
|
* This routine creates and starts all configured user
|
||||||
|
* initialization threads.
|
||||||
|
*/
|
||||||
|
extern void _POSIX_Threads_Initialize_user_threads_body(void);
|
||||||
|
|
||||||
#include <rtems/posix/pthread.inl>
|
#include <rtems/posix/pthread.inl>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|||||||
@@ -491,6 +491,19 @@ void _RTEMS_Tasks_Invoke_task_variable_dtor(
|
|||||||
rtems_task_variable_t *tvp
|
rtems_task_variable_t *tvp
|
||||||
);
|
);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief _RTEMS_tasks_Initialize_user_tasks_body
|
||||||
|
*
|
||||||
|
* This routine creates and starts all configured user
|
||||||
|
* initialization threads.
|
||||||
|
*
|
||||||
|
* Input parameters: NONE
|
||||||
|
*
|
||||||
|
* Output parameters: NONE
|
||||||
|
*/
|
||||||
|
|
||||||
|
extern void _RTEMS_tasks_Initialize_user_tasks_body( void );
|
||||||
|
|
||||||
#ifndef __RTEMS_APPLICATION__
|
#ifndef __RTEMS_APPLICATION__
|
||||||
#include <rtems/rtems/tasks.inl>
|
#include <rtems/rtems/tasks.inl>
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -2234,7 +2234,6 @@ rtems_fs_init_functions_t rtems_fs_init_helper =
|
|||||||
#ifdef CONFIGURE_INIT
|
#ifdef CONFIGURE_INIT
|
||||||
#if defined(CONFIGURE_RTEMS_INIT_TASKS_TABLE) || \
|
#if defined(CONFIGURE_RTEMS_INIT_TASKS_TABLE) || \
|
||||||
defined(CONFIGURE_HAS_OWN_INIT_TASK_TABLE)
|
defined(CONFIGURE_HAS_OWN_INIT_TASK_TABLE)
|
||||||
void (_RTEMS_tasks_Initialize_user_tasks_body)(void);
|
|
||||||
void (*_RTEMS_tasks_Initialize_user_tasks_p)(void) =
|
void (*_RTEMS_tasks_Initialize_user_tasks_p)(void) =
|
||||||
_RTEMS_tasks_Initialize_user_tasks_body;
|
_RTEMS_tasks_Initialize_user_tasks_body;
|
||||||
#else
|
#else
|
||||||
@@ -2250,7 +2249,6 @@ rtems_fs_init_functions_t rtems_fs_init_helper =
|
|||||||
#ifdef CONFIGURE_INIT
|
#ifdef CONFIGURE_INIT
|
||||||
#if defined(CONFIGURE_POSIX_INIT_THREAD_TABLE) || \
|
#if defined(CONFIGURE_POSIX_INIT_THREAD_TABLE) || \
|
||||||
defined(CONFIGURE_POSIX_HAS_OWN_INIT_THREAD_TABLE)
|
defined(CONFIGURE_POSIX_HAS_OWN_INIT_THREAD_TABLE)
|
||||||
void _POSIX_Threads_Initialize_user_threads_body(void);
|
|
||||||
void (*_POSIX_Threads_Initialize_user_threads_p)(void) =
|
void (*_POSIX_Threads_Initialize_user_threads_p)(void) =
|
||||||
_POSIX_Threads_Initialize_user_threads_body;
|
_POSIX_Threads_Initialize_user_threads_body;
|
||||||
#else
|
#else
|
||||||
|
|||||||
Reference in New Issue
Block a user