errr...  xnintr_irq_proc() for shared-irq case is also broken indeed. xnintr_shirq_lock(shirq) should not be used there as a preemption may take place and another thread may happilly call xnintr_detach() -> xnintr_shirq_detach() -> possible [SMP: deadlock, UP: crash].

Can't believe the person who has writen this buggy code was me :o) Well, it's probably a time for some refactoring.


--
Best regards,
Dmitry Adamushko

_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core

Reply via email to