Apr 4, 2008 #1 N naresh850 Full Member level 3 Joined Jun 9, 2006 Messages 157 Helped 6 Reputation 12 Reaction score 4 Trophy points 1,298 Activity points 2,249 isr semaphore block Hello Can ISR call semaphore? Regards, NP
Apr 4, 2008 #2 A ariyan Member level 5 Joined Aug 24, 2006 Messages 81 Helped 4 Reputation 8 Reaction score 2 Trophy points 1,288 Activity points 1,804 isr and semaphore You can't call an semaphore from within an ISR. Taking a semaphore is a blockable operation. The rule of thumb is, when in an interrupt do not block. ISR can only send Messages and can only release a semaphore.
isr and semaphore You can't call an semaphore from within an ISR. Taking a semaphore is a blockable operation. The rule of thumb is, when in an interrupt do not block. ISR can only send Messages and can only release a semaphore.
Apr 8, 2008 #3 I intrepido Junior Member level 2 Joined May 4, 2004 Messages 20 Helped 1 Reputation 2 Reaction score 1 Trophy points 1,283 Activity points 101 can isr take semaphore An ISR can do only non-blocking calls. I.E. An ISR can put an event into mail box without blocking. NOTE. Is very important for an ISR to spent small time to complete her operations.
can isr take semaphore An ISR can do only non-blocking calls. I.E. An ISR can put an event into mail box without blocking. NOTE. Is very important for an ISR to spent small time to complete her operations.
Apr 14, 2008 #4 ivar4ever Full Member level 3 Joined Jun 12, 2006 Messages 189 Helped 25 Reputation 52 Reaction score 5 Trophy points 1,298 Location India Activity points 2,437 call semaphore from isr it is not advisable to call semaphones from ISR's
Apr 25, 2008 #5 X xyz99002 Junior Member level 2 Joined May 31, 2001 Messages 23 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 82 semaphore in isr In most cases you can raise a semaphore from ISR but can not pend on it. Check your RTOS documentation.
semaphore in isr In most cases you can raise a semaphore from ISR but can not pend on it. Check your RTOS documentation.