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
Post a Comment