summaryrefslogtreecommitdiffstats
path: root/c/src/exec/rtems/src/tasks.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1996-05-29 16:55:05 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1996-05-29 16:55:05 +0000
commit98849f4487512ae91e746f7392f8b08cc4536446 (patch)
tree9d39df29a589096d2fe662b14ba5a01bfe2ab6b3 /c/src/exec/rtems/src/tasks.c
parentremoved all ifdef's on NOT_IMPLEMENTED. (diff)
downloadrtems-98849f4487512ae91e746f7392f8b08cc4536446.tar.bz2
*** empty log message ***
Diffstat (limited to 'c/src/exec/rtems/src/tasks.c')
-rw-r--r--c/src/exec/rtems/src/tasks.c3
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,