Skip to contentSkip to conversation

xnshadow_call_mayday no signal_handler call

Xenomai-help Johann Obermayr 2 participants 3 messages Mar 14, 2011

lore
Share & tools
lore
#0 lore raw

Hello,

if i call xnshadow_call_mayday for a realtime task with prio=0, the signal_handler is not called.

Xenomai 2.5.6, linux kernel 2.6.32.15. gcc 4.3.3

Signature · 21 lines
Mit freundlichen Grüßen, best regards
    Johann Obermayr

Software Entwicklung
________________________________________________
SIGMATEK GmbH&  Co KG
Sigmatekstraße 1
5112 Lamprechtshausen
Österreich / Austria

Tel.  :  +43 / 6274/ 43 21-0   (Durchwahl leider nicht möglich)
Fax   :  +43 / 6274/ 43 21-18  (bzw 300 im Werk 2 )
E-Mail: [email protected]
http://www.sigmatek-automation.com
****************************Please note:********************************
 This email and all attachments are confidential and intended solely for
 the person or entity to whom it is addressed. If you are not the named
 addressee you must not make this email and all attachments accessible
 to any other person. If you have received this email in error please
 delete it together with all attachments.
************************************************************************
#1 lore raw
Quoted 5 lines · Johann Obermayr

Hello,

if i call xnshadow_call_mayday for a realtime task with prio=0, the signal_handler
is not called.

It does not make sense to call it for such thread. Besides, xnshadow_call_mayday() is an internal interface, with strict calling context requirements, so you are not supposed to use it at all.

Quoted 3 lines

Xenomai 2.5.6, linux kernel 2.6.32.15. gcc 4.3.3

Signature · 1 line
Philippe.
#2 lore raw

Am 14.03.2011 14:17, schrieb Philippe Gerum:

Quoted 10 lines · Johann Obermayr
Quoted 5 lines

Hello,

if i call xnshadow_call_mayday for a realtime task with prio=0, the signal_handler
is not called.

It does not make sense to call it for such thread. Besides, xnshadow_call_mayday() is an internal interface, with strict calling context requirements, so you are not supposed to use it at all.

We have a high priority watchdog task.
This task stop some other without domain switch.
But i can't stop a rt-task (prio=0).

Quoted 1 line
Quoted 1 line

Xenomai 2.5.6, linux kernel 2.6.32.15. gcc 4.3.3

Signature · 21 lines
Mit freundlichen Grüßen, best regards
    Johann Obermayr

Software Entwicklung
________________________________________________
SIGMATEK GmbH&  Co KG
Sigmatekstraße 1
5112 Lamprechtshausen
Österreich / Austria

Tel.  :  +43 / 6274/ 43 21-0   (Durchwahl leider nicht möglich)
Fax   :  +43 / 6274/ 43 21-18  (bzw 300 im Werk 2 )
E-Mail: [email protected]
http://www.sigmatek-automation.com
****************************Please note:********************************
 This email and all attachments are confidential and intended solely for
 the person or entity to whom it is addressed. If you are not the named
 addressee you must not make this email and all attachments accessible
 to any other person. If you have received this email in error please
 delete it together with all attachments.
************************************************************************