----- Den 15 feb 2021, på kl 14:16, Leandro Bucci guestleandr...@gmail.com 
skrev:

> Yes I want a mode switch happened, thank for your answer

> Il lun 15 feb 2021, 14:15 Per Oberg < [ mailto:p...@wolfram.com |
> p...@wolfram.com ] > ha scritto:

>> ----- Den 15 feb 2021, på kl 14:00, xenomai [ mailto:xenomai@xenomai.org |
>> xenomai@xenomai.org ] skrev:

>> > hi, I can't understand why if I use the memcpy function on Xenomai I don't
>> > have any mode switch. Is there a function that copies two arrays and
>> > generates a mode switch?

>> I don't think I understand your question.

>> I don't see why copying data from one memory location to another would cause 
>> a
>> mode switch. Not unless you use cause a page-fault or something ...

>> Or, do you WANT a mode switch to happen ?

I feel like I am missing context here, perhaps you have discussed this recently 
in another thread?

But, if you are using Alchemy skin, could you perhaps do : rt_task_set_mode(), 
see [1] below, with the correct flags ? 

>> Per Öberg

[1] 
https://xenomai.org/documentation/xenomai-3/html/xeno3prm/group__alchemy__task.html#ga915e7edfb0aaddb643794d7abc7093bf

Best regards
Per Öberg

Reply via email to