This is the mail archive of the
ecos-discuss@sourceware.cygnus.com
mailing list for the eCos project.
Re: Devio function context?
Grant Edwards <grante@visi.com> writes:
> In the never-ending quest to stay off the critical path, I'm
> slapping together a thread-mode driver (read and write methods
> use polling via cyg_thread_dealy()) just so the application
> development can get started. Once things get underway,
> switching to an interrupt-driven model will obviate the need
> for the delay() -- and improve performance, one hopes...
OK, in that case I'll stop worrying that maybe we have left something
out that was really vital. But the need for some timing facilities in
drivers probably remains, so I'll just put it on the back burner.
--
Nick Garnett
Cygnus Solutions, a Red Hat Company
Cambridge, UK