Date: Sun, 19 Oct 2008 07:20:32 -0700 From: "Len Gross" <sandiegobiker@gmail.com> To: freebsd-drivers@freebsd.org Subject: Polling and Sleep in a Driver Message-ID: <27cb3ada0810190720u2cc84097w2ed6425bc6ee8d3f@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?27cb3ada0810190720u2cc84097w2ed6425bc6ee8d3f>