Polling and Sleep in a Driver
Len Gross
sandiegobiker at gmail.com
Sun Oct 19 14:49:32 UTC 2008
I have a MAC protocol written using Netgraph. It runs in userland
and uses a simple poll, sleep loop. It has proved that the algorithms
are correct, but the sleeps are not regular/accurate enough for my
purposes. (I have pushed Hz up quite a bit with no real effect)
If I were to implement the algorithms within a driver would the sleeps
still suffer from the same "non real-time" behaviour I see in
userland?
Thanks in advance.
-- Len
More information about the freebsd-drivers
mailing list