RT, nonRT communication
Hi,
Is it possible to share a pthread_mutex between a rt task and a linux pthread ?
My two tasks must share resources and I must protect them against concurrent access.
If pthread_mutex is not the correct way to do it can you tell me how to achieve this ?
Thanks in advance
Patrick
Quoted 10 lines · Patrick
Hi,
Is it possible to share a
pthread_mutexbetween a rt task and a linux pthread ?
No, it is not possible
Quoted 6 lines
My two tasks must share resources and I must protect them against concurrent access.
If
pthread_mutexis not the correct way to do it can you tell me how to achieve this ?
The way to handle these border line cases is to make your linux pthread a xenomai thread running with the SCHED_OTHER scheduling policy. Note that the main thread already has this property.
Signature · 1 line
Gilles Chanteperdrix