On Sunday 15 October 2006 11:53, [EMAIL PROTECTED] wrote:
> [*] Not counting threads.  Quoting Alan Cox: "Computers are state
> machines.  Threads are for people who can't program state machines."

USB's IO model is not well suited to select() style applications since it 
doesn't allow it to tell the OS how much data should be read in advance 
(since there is no real way for a USB device to flag it has data to be sent 
to the app).

Async. IO is a much closer match but support for that in your OS may be 
limited. (Especially for raw device nodes and USB in particular)

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C

Attachment: pgpF8AhYXLJte.pgp
Description: PGP signature

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to