kqueue/kevent in real-time OS?
gurney_j at resnet.uoregon.edu
Fri Aug 12 03:12:06 GMT 2005
Bsderss wrote this message on Wed, Aug 10, 2005 at 01:12 -0700:
> Can anyone please tell me is kqueue/kevent model in
> FreeBSD 5.x a real-time event model?
I'm not sure what you mean by real-time event model, but most likely,
no it is not.. It requires a process/thread to be waiting in kevent,
and there are no guarantees about the time from when the event that
triggers the wakeup and the time that your thread will run.. With some
combination of rtprio, the thread priority can be raised... There is
no other method to get notification of kqueue waking up, than kevent..
John-Mark Gurney Voice: +1 415 225 5579
"All that I will do, has been done, All that I have, has not."
More information about the freebsd-current