-
Philippe Gerum authored
evl_call_mayday() can only apply to a running thread (i.e. current and non-blocked EVL-wise), called from an interrupt handler that preempted it. Since the watchdog handler is the only place where it would make sense to trigger the mayday signal, fold the latter action in this code directly. At this chance, fix a potential race by holding the lock protecting the ->info flags when raising T_KICKED. Signed-off-by: Philippe Gerum <rpm@xenomai.org>
2d38afaa