On Mar 7, 2012, at 5:48 PM, Roman Haefeli wrote:

> Hey Hans
> 
> On Wed, 2012-03-07 at 00:03 -0500, Hans-Christoph Steiner wrote:
>> I just committed a fix for the race condition that happens when a
>> serial port gets disconnected on GNU/Linux and Mac OS X.  Please test
>> heavily on those platforms, including yanking out the USB plug and
>> going out of range with a bluetooth.  It should just cleanly close the
>> serial port now.
> 
> That's good news! Thanks a lot for this fix. 
> 
> It seems to work well here. Also, it reports closed connection, if you
> unplug the cable, which is good. This way you can write your patch to
> deal correctly with the situation.
> 
> Roman

That's good news :)  Also, I switched the default poll time from 1ms to 10ms, 
because based on my testing, it was only getting data every 10ms, and the other 
polls were for nothing.  But that is also something to test. You can still set 
a 1ms poll time with the [pollinterval 1( message.

.hc


----------------------------------------------------------------------------

                                              http://at.or.at/hans/



_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to