[Xenomai] Issue in notifier_callback while threadobj_lock is being held (forge/mercury)

Philippe Gerum rpm at xenomai.org
Sat Apr 26 18:13:20 CEST 2014

On 04/26/2014 12:32 PM, Philippe Gerum wrote:

> There is a single sane option: no code running on top of the SIGNOTIFY
> handler should attempt to grab any lock. notifier_callback() is simply
> wrong in acquiring a lock, only to set the suspend bit in the status.
> There is a better option for reflecting the current state locklessly.
> I'll issue a fix.

Ok, this time I grabbed the chainsaw to fix this code, dropping all 
non-sense and left overs from the early days. Feedback welcome.




More information about the Xenomai mailing list