Stop using sigwait(); it was misbehaving on recent kernels, the signal
only got to userspace about half the time. Use poll() instead, which now works on ep0 too.
Minor additional tweaks: whitespace bugfixes, list "-p" option.
Authored by: dbrownell 2007-01-17
Parent: [r2289]
Child: [r2291]