diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-05-29 16:55:05 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-05-29 16:55:05 +0000 |
commit | 98849f4487512ae91e746f7392f8b08cc4536446 (patch) | |
tree | 9d39df29a589096d2fe662b14ba5a01bfe2ab6b3 /c/src/exec/rtems/src | |
parent | removed all ifdef's on NOT_IMPLEMENTED. (diff) | |
download | rtems-98849f4487512ae91e746f7392f8b08cc4536446.tar.bz2 |
*** empty log message ***
Diffstat (limited to 'c/src/exec/rtems/src')
-rw-r--r-- | c/src/exec/rtems/src/tasks.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/c/src/exec/rtems/src/tasks.c b/c/src/exec/rtems/src/tasks.c index 55d6bed7df..aec54fc7f4 100644 --- a/c/src/exec/rtems/src/tasks.c +++ b/c/src/exec/rtems/src/tasks.c @@ -1078,6 +1078,9 @@ void _RTEMS_tasks_Initialize_user_tasks( void ) user_tasks = _RTEMS_tasks_User_initialization_tasks; maximum = _RTEMS_tasks_Number_of_initialization_tasks; + if ( !user_tasks || maximum == 0 ) + return; + for ( index=0 ; index < maximum ; index++ ) { return_value = rtems_task_create( user_tasks[ index ].name, |