libaltos: Mac OS X cannot use 'poll(2)' on serial lines.
authorKeith Packard <keithp@keithp.com>
Mon, 30 Aug 2010 04:41:40 +0000 (21:41 -0700)
committerKeith Packard <keithp@keithp.com>
Mon, 30 Aug 2010 04:41:40 +0000 (21:41 -0700)
commitb7fa1ea3338f63b8edcf8aacccb5e519ca0b213f
tree8bb9890803296a4b82b33c678a97c1e7ced18c01
parente60c59123232915e808cee23ef89eb1a38ced34b
libaltos: Mac OS X cannot use 'poll(2)' on serial lines.

Who ships this stuff, anyway? Instead of blocking, we'll poll every 100ms now,
otherwise, we won't be able to abort the read when the device is closed. Yay!

Signed-off-by: Keith Packard <keithp@keithp.com>
ao-tools/libaltos/libaltos.c