Patrick wrote:
>
> > [...]
> > As soon as you compile your application with the flags returned by
> > xeno-config --posix-cflags and xeno-config --posix-ldflags, it really
> > becomes an RT application where all threads are real-time threads. The
> > only way to create a non real-time thread in such an application is by
> > calling __real_pthread_create.
> >
> > Gilles Chanteperdrix.
>
>
> Hi all,
>
> What is the (default) priority of RT pthreads in comparison with native
> rt_task ?
The default scheduling of RT pthreads is SCHED_OTHER, which means that
their priority is 0. This makes them suitable mostly for non real-time
duties. native rt_task have no default priority, since passing a
priority to rt_task_create is mandatory, but you can create them with a
null priority as well if you like.
--
Gilles Chanteperdrix.
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help