Re: [pok-devel] POK / ARINC653 - DEADLINE_TYPE

[ Thread Index | Date Index | More lists.tuxfamily.org/pok-devel Archives ]


thanks for your last answer.

I take the opportunity to ask you 2 other questions.
First how can I check if the preemption is enabled or disabled?
Secondly, less important, how can I check if a thread is periodic or aperiodic?
That information will be used to process some check for arinc. If I cannot have these information I just won't do these tests for the moment.

Thanks a lot
Matias

----- Mail original -----
> De: "Julien Delange" <julien@xxxxxxxxx>
> À: pok-devel@xxxxxxxxxxxxxxxxxxx
> Envoyé: Mercredi 1 Février 2012 16:14:58
> Objet: Re: [pok-devel] POK / ARINC653 - DEADLINE_TYPE
>
> Le Wed, Feb 01, 2012 at 02:20:06PM +0100, Matias Hastaran :
> > Hi,
> >
> > I've one question about the DEADLINE_TYPE value. It's supposed to
> > be an enum with two values : HARD or SOFT. But I see that is it
> > used to store the deadline value (1000ms for exemple). My problem
> > : I need to fetch HARD or SOFT value for ARINC implementation...
> > Does POK support only SOFT or HARD value ? Or can I find this value
> > in other place ?
> >
>
> Dear Matias,
>
> When implementing the ARINC653 layer, I did not consider these
> aspects.
> To be honest, POK does not care of these two types and did not
> distingish HARD or SOFT deadlines. In fact, we assume that all
> deadlines
> must be considered as hard.
>
> As I no longer have access to the standard, it would be difficult
> ti indicate what would be required to integrate the different
> types and if this would require to modify just libpok or
> also the kernel. I assume that modifying the libpok
> would be sufficient (for example, by ignoring some deadlines overrun
> and so on).
>
>
>



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/