Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Can ISR call semaphore?

Status
Not open for further replies.

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
 

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.
 

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.
 

call semaphore from isr

it is not advisable to call semaphones from ISR's
 

semaphore in isr

In most cases you can raise a semaphore from ISR but can not pend on it. Check your RTOS documentation.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top