Matthieu wrote:
 > I found out that it is possible to mix API since SIGXCPU signal, sent when
 > swiching in secondary mode, is obviously only used by Xenomai Native
 > API.

Ok. But you could implement taskOptionsGet/taskOptionsSet to allow
setting a VX_WARNSW option bit, and even setting it in
taskInit/taskSpawn.

 > Well, I tried to implement it in a vxworks context, but I don't have test
 > it yet. I have some problems remaining with rt_task_set_mode(0, T_WARNSW,
 > NULL) that I don't know where to use.
 > Do you have any solution ?

Well, in a usual application only some tasks are really critical, and
only these deserve the T_WARNSW bit. So, yes, you have to know what
tasks are really critical, only set the T_WARNSW bit for these and use
it to remove any switch to secondary mode.

-- 


                                            Gilles.

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to