malloc and stl container

孙世龙 sunshilong sunshilong369 at gmail.com
Fri Jul 31 12:27:57 CEST 2020


Hi, Regards Jan, Norbert
>>    Hello,
>>    i am using xenomai 3.0 on a cobalt x64 smp system with the alchemy
>>    skin.
>>    As far i know dynamic memory allocation can cause a context switch,
>>    which should be preventet.
>>    If i am right,malloc should not cause a CSW anymore at this xenomai
>>    version.
>
>Don't see where you get this from. malloc might not cause a CSW every time,
>but it has the potential to do so at *any* time.

Maybe, you mean MSW, not CSW.

Best Regards
Sunshilong



More information about the Xenomai mailing list