multi-tasking within bsp initialisation

Joel Sherrill joel.sherrill at
Mon Apr 21 16:18:22 UTC 2003

Salman wrote:
> Multi-tasking and interrupts are disabled throughout the BSP
> initialisation routine.
> May I know what would happen if one tries to create a new task within
> the BSP initialisation stage.
> Would an error code be returned (upon calling rtems_task_create) or
> would it be a matter of simply the task would not be scheduled for
> execution until multi-tasking is enabled ?

The latter.  It would be in the set that is competing for the CPU
once tasking it started.  

> Thanks,
> Salman

Joel Sherrill, Ph.D.             Director of Research & Development
joel at                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985

More information about the users mailing list