Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - sem_post() inside Interrupt Handler: (2 Items)
   
sem_post() inside Interrupt Handler  
Is it possible to use sem_post() function inside Hardware Interrupt Handler routine?

On my experiense the QNX6 blocked on sem_post() inside Interrupt Handler.

Thank you.
AW: sem_post() inside Interrupt Handler  
You are not allowed to do _any_ kernel call inside an ISR.
It might or might not crash your system.
When you take a look at the ref manual entry of a libc function
you can see at the ende whether this function is safe for ISR or not.
like for sem_post: http://www.qnx.com/developers/docs/6.4.0/neutrino/lib_ref/s/sem_post.html

/hp


-----Ursprüngliche Nachricht-----
Von:	Leonid Khait [mailto:community-noreply@qnx.com]
Gesendet:	Sa 26.09.2009 12:50
An:	ostech-core_os
Cc:	
Betreff:	sem_post() inside Interrupt Handler

Is it possible to use sem_post() function inside Hardware Interrupt Handler routine?

On my experiense the QNX6 blocked on sem_post() inside Interrupt Handler.

Thank you.



_______________________________________________

OSTech
http://community.qnx.com/sf/go/post38835 
 
*******************************************
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.48 KB