Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Test to determine if in interrupt context?: (2 Items)
   
Test to determine if in interrupt context?  
Hi,

How can I check whether or not I'm currently executing in an ISR or a thread?
I'm running Momentics 6.3.2.  I'm looking for something similar to VxWorks  intContext() call.

Thanks!
Rob
AW: Test to determine if in interrupt context?  
maybe it is best to start with the interrupt section in the programmers manual.
you find the 6.3.2 version here
http://www.qnx.com/developers/docs/6.3.2/neutrino/prog/inthandler.html

you will see that things are different, and you do not need an intContext() at all.



-----Ursprüngliche Nachricht-----
Von:	Rob Maher [mailto:community-noreply@qnx.com]
Gesendet:	Do 08.10.2009 17:38
An:	ostech-core_os
Cc:	
Betreff:	Test to determine if in interrupt context?

Hi,

How can I check whether or not I'm currently executing in an ISR or a thread?
I'm running Momentics 6.3.2.  I'm looking for something similar to VxWorks  intContext() call.

Thanks!
Rob



_______________________________________________

OSTech
http://community.qnx.com/sf/go/post39610 
 
*******************************************
Harman Becker Automotive Systems GmbH
Management Board: Dr. Klaus Blickle (Chairman), Dr. Udo Hüls, Michael Mauser
Chairman of the Supervisory Board: Ansgar Rempp | Domicile: Karlsbad | 
Local Court Mannheim: Register No. 361395

 
*******************************************
Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen. Wenn Sie nicht der richtige Adressat 
sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und loeschen Sie diese Mail
. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have 
received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorized copying, 
disclosure or distribution of the contents in this e-mail is strictly forbidden.
*******************************************
Attachment: Text winmail.dat 3.53 KB