During QNX training, I remember the instructor saying something about
autonomous functions. That is there was a way in QNX to force a function to
run to completion without being switched out.
Does anyone recall this? Is there a way to do it? Also, if it’s possible
does it prevent interrupts as well from taking over the CPU?
During QNX training, I remember the instructor saying something about
autonomous functions. That is there was a way in QNX to force a function
to
run to completion without being switched out.
First time I hear about “autonomous functions”.
Does anyone recall this? Is there a way to do it? Also, if it’s possible
does it prevent interrupts as well from taking over the CPU?
Look at InterruptLock(), InterruptDisable(), InterruptMask()
During QNX training, I remember the instructor saying something about
autonomous functions. That is there was a way in QNX to force a function
to
run to completion without being switched out.
First time I hear about “autonomous functions”.
“atomic” functions, perhaps?
#include <atomic.h>
Cheers,
-RK
Does anyone recall this? Is there a way to do it? Also, if it’s possible
does it prevent interrupts as well from taking over the CPU?
Look at InterruptLock(), InterruptDisable(), InterruptMask()
Thanks in advance,
Phil
–
[If replying via email, you’ll need to click on the URL that’s emailed to you
afterwards to forward the email to me – spam filters and all that]
Robert Krten, PDP minicomputer collector http://www.parse.com/~pdp8/
May you talk about FIFO scheduling where a thread can run
as long as no other thread has a higher priority and state READY?
BTW: On QNX, an hardware IRQ always have a higher priority
than any other software thread.
Phil wrote:
Hello QNX Community,
During QNX training, I remember the instructor saying something about
autonomous functions. That is there was a way in QNX to force a function to
run to completion without being switched out.
Does anyone recall this? Is there a way to do it? Also, if it’s possible
does it prevent interrupts as well from taking over the CPU?