Posix api and Rtems-Shell

Chris Johns chrisj at rtems.org
Tue Dec 23 23:35:34 UTC 2008

rtwas wrote:
> I'd like to use the *Shell* api with Posix. Reading the docs I see that 
> when Shell is init'd "rtems_shell_init()"
> that a *Task* is launched. Posix uses *Threads*. Can Tasks and Threads 
> coexist in the same executable?

Yes. Take a look at:


and you will see the API layer with SAPI, Classic API, POSIX and more above 
the SuperCore. All tasks or threads are managed by the SuperCore and can coexist.

> If so
>  it implies some other possible contentions, like initializing both 
> *Classic Api* and *Posix Api* and their associated
> *entry points*.

Yes you need to initialise the Classic API and the POSIX API.


More information about the users mailing list