How to comprehend "Xenomai threads shadow Linux threads" in the right way?
sunshilong369 at gmail.com
Wed Jul 8 12:40:12 CEST 2020
There is such a macro in the source code:
#define XNUSER 0x00040000 /**< Shadow thread running in userland */
So, I guess shadow thread is equivalent to real-time thread(maybe,
xenomai thread is more suitable here).
As per the presentation
which says that:
"Xenomai threads shadow Linux threads".
I guess that there is a one-to-one correspondence between xenomai
threads and Linux threads.
And if my guess is right, what happens then?
There should be several Linux threads **which can be observed by `ps
-elf` of `top`** when I
have created the same number of xenomai threads.
But I have not seen such a phenomenon. So where goes wrong?
Thank you for your attention to this matter.
Looking forward to hearing from you.
More information about the Xenomai