Gilles Chanteperdrix wrote:
> Jan Kiszka wrote:
>  >  
>  > -  if (xnpod_unblockable_p()) {
>  > +  if (xnpod_locked_p()) {
> 
> Why not if (task == xeno_current_task() && xnpod_unblockable_p()) ?
> 

Is it legal to suspend a foreign task when XNLOCK is set? If yes, I
would vote for your version as well.

Jan

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core

Reply via email to