What happens when calling a blocking function from ISR in VxWorks -


what happens when blocking function isr in vxworks, example, msgqsend called isr , msgq buffer full (assuming msgqsend called wait_forever)?

note: i'm assuming fail in scheduler. if case, how vxworks scheduler know called isr?

thanks.

there multiple questions here, answer them in reverse order:

how vxworks scheduler know called isr?

it uses intcontext() intlib():

bool intcontext (void) description  routine returns true if current execution state in interrupt context , not in meaningful task context. 

next question:

what happens when blocking function isr in vxworks

vxworks checks if try call blocking function @ interrupt level, , return error when do.


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -