roderik.wildenb...@manroland.com wrote:
>>> Please correct me if I am wrong: In your replacement
>>> pthread_getschedparam would read scheduling parameters which
>>> should have been set with sched_setscheduler before(!) your
>> replacement gets
>>> active. Is this possible at all ? Wouldn´t I hav
> > Please correct me if I am wrong: In your replacement
> > pthread_getschedparam would read scheduling parameters which should
> > have been set with sched_setscheduler before(!) your
> replacement gets
> > active. Is this possible at all ? Wouldn´t I have to call
> > sched_setscheduler (in "sys
roderik.wildenb...@manroland.com wrote:
> Sorry for the delayed answer, but I am fighting with an other Xenomai
> problem too (PPC switchtest FPU problem, you probably heard about
> it).
>
>>> I don´t understand this. Isn´t this a contradiction to your
>> answer in
>>> 2.) ? I thought sched_setsch
roderik.wildenb...@manroland.com wrote:
> Sorry for the delayed answer, but I am fighting with an other Xenomai
> problem too (PPC switchtest FPU problem, you probably heard about
> it).
>
>>> I don´t understand this. Isn´t this a contradiction to your
>> answer in
>>> 2.) ? I thought sched_setsch
roderik.wildenb...@manroland.com wrote:
> Jan Kiszka wrote:
>
>>> The point is that if you force it to secondary mode, and
>> the next system
>>> call is in fact a xenomai syscall, xenomai will switch the thread to
>>> primary mode again. So, you have two useless mode switches which you
>>> could
Jan Kiszka wrote:
> > The point is that if you force it to secondary mode, and
> the next system
> > call is in fact a xenomai syscall, xenomai will switch the thread to
> > primary mode again. So, you have two useless mode switches which you
> > could have avoided if you had not forcibly switche
Sorry for the delayed answer, but I am fighting with an other Xenomai problem
too (PPC switchtest FPU problem, you probably heard about it).
> > I don´t understand this. Isn´t this a contradiction to your
> answer in
> > 2.) ? I thought sched_setscheduler does not work for Xenomai tasks
> > and
Gilles Chanteperdrix wrote:
> roderik.wildenb...@manroland.com wrote:
4.) Is there a way, to force back a process to secondary mode
(after the Xenomai-systemcall has been executed) ?
>>> Yes, but no, you do not want to do that. Xenomai automatically
>>> switches the process when needed.
>
roderik.wildenb...@manroland.com wrote:
>>> From this scenario deduce the following questions :
>>>
>>> 1.) Linking a linux-process with a Xenomai-library "transforms"
>>> the linux process to a Xenomai-process/task. Is this true ?
>> Yes, and you need this to be able to call Xenomai services.
>
> >
> > From this scenario deduce the following questions :
> >
> > 1.) Linking a linux-process with a Xenomai-library "transforms" the
> > linux process to a Xenomai-process/task. Is this true ?
>
> Yes, and you need this to be able to call Xenomai services.
O.k. I thought so.
>
> For your i
roderik.wildenb...@manroland.com wrote:
>> It is not your job to decide the priority of a xenomai thread when
>> it runs in secondary mode, you have to set the xenomai scheduler's
>> priority of the thread, and xenomai itself will change the priority
>> for linux scheduler. The way to do this is to
> It is not your job to decide the priority of a xenomai thread when it
> runs in secondary mode, you have to set the xenomai
> scheduler's priority
> of the thread, and xenomai itself will change the priority for linux
> scheduler. The way to do this is to call pthread_setschedparam in the
> "li
roderik.wildenb...@manroland.com wrote:
> I have build a library which makes use of some Xenomai-Posix functions
> (mainly shared memory but also some semaphore functions). This library
> provides functions (logging) which should be used by Xenomai tasks and Linux
> processes.
> When I link this
I have build a library which makes use of some Xenomai-Posix functions (mainly
shared memory but also some semaphore functions). This library provides
functions (logging) which should be used by Xenomai tasks and Linux processes.
When I link this new library with a standard linux process, this pr
14 matches
Mail list logo