Hi,
I think mutex lock should not be shared bettween rt thread and
nrt thread, because if i use the posix mutex api implemented
by linux,it causes the rt thread switch to the secondary mode.

    As per the documentation(https://xenomai.org/documentation/
xenomai-3/html/xeno3prm/group__alchemy__mutex.html
#ga8f7db304bb5a839d81614f00c4cde145),
the mutex api implemented by xenomai could not be used in
normal linux thread.

So,how to share the same mutex bettween rt thread and nrt
thread?Could you offer some guidance on that?

Thank you for your attention.
Looking forward to hearing from you.

Reply via email to