Re: [Discuss-gnuradio] fusb and select(2)

2006-10-16 Thread Greg Troxel
As a die-hard old-school unix programmer, I want to be able to grab data from a USRP-like device, under control of a main loop based on select(2). The comments in the source code of fusb are not encouraging. The code to handle the USRP on NetBSD implements read/write/select just like you'd

Re: [Discuss-gnuradio] fusb and select(2)

2006-10-15 Thread Eric Blossom
On Sat, Oct 14, 2006 at 07:23:18PM -0700, [EMAIL PROTECTED] wrote: > Friends - > > As a die-hard old-school unix programmer, I want to be able to grab data > from a USRP-like device, under control of a main loop based on > select(2). The comments in the source code of fusb are not encouraging. >

Re: [Discuss-gnuradio] fusb and select(2)

2006-10-15 Thread Daniel O'Connor
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 t

[Discuss-gnuradio] fusb and select(2)

2006-10-14 Thread ldoolitt
Friends - As a die-hard old-school unix programmer, I want to be able to grab data from a USRP-like device, under control of a main loop based on select(2). The comments in the source code of fusb are not encouraging. Quoting from gnuradio-3.0/usrp/host/lib/fusb_linux.cc: // Totally evil and fra