Re: close on USB serial port hangs (read pending) on Snow Leopard
Re: close on USB serial port hangs (read pending) on Snow Leopard
- Subject: Re: close on USB serial port hangs (read pending) on Snow Leopard
- From: Ben Byer <email@hidden>
- Date: Fri, 19 Feb 2010 14:49:09 -0800
On Feb 18, 2010, at 11:31 AM, Fritz Anderson wrote:
> I have an application (compiled against the 10.4 Universal SDK, GCC 4.0) that hangs upon close() on a serial port when running on 10.6, but not on earlier OSes.
>
> There is a blocking read() pending on the file descriptor in another thread.
>
> The device is an FTDI USB-to-serial port discovered through the IO registry as kIOSerialBSDRS232Type and opened on its callout /dev entry.
Does this reproduce with a USB-to-serial adapter from another vendor?
Ben
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden