gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-dev] tests hanging on netsbd-6 i386


From: Greg Troxel
Subject: Re: [gpsd-dev] tests hanging on netsbd-6 i386
Date: Fri, 30 Jan 2015 15:58:15 -0500
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.4 (berkeley-unix)

"Eric S. Raymond" <address@hidden> writes:

> Greg Troxel <address@hidden>:
>> 
>> It looks like 301 is ok and 302 is hanging.
>> 
>> -rw-r--r--  1 gdt  ir    13249 Jan 30 10:57 CHECK.release-3.11-301-ga83ecfd
>> -rw-r--r--  1 gdt  ir     4774 Jan 30 10:53 CHECK.release-3.11-302-g646f855
>> 
>> Also, 301 prints out
>> 
>> gpsd:SHOUT: tty params optimized for min length 16 of textual packets
>> 
>> and 302 does not.
>
> I can't match these hashes in git log.  What are the timestamps on
> those commits?

I find the hashes (without the spurious "g" that git describe puts in):

commit a83ecfd712d37442445523ef0d14c04477ac9289
Author: Eric S. Raymond <address@hidden>
Date:   Thu Jan 29 13:28:24 2015 -0500

    Create a logic path for each driver to set tty controls.
    commit 646f855d4cdd6d7c27333d511b1d49eaea277af4

Author: Eric S. Raymond <address@hidden>
Date:   Thu Jan 29 14:33:05 2015 -0500

    Rare I/O with timeout seems to work.  This replaces the
    adaptive-delay code.
    
> What is new is that each driver now declares a minimum packet length.  When
> switching to a driver, the line discipline changes to this:
>
>       session->ttyset.c_cc[VMIN] = minlength;
>       session->ttyset.c_cc[VTIME] = 1;
>
> which means "return when you either have minlength characters waiting for
> read or at least one character and 0.1sec has elapsed since the last
> character read."

I will have a look at this.  I see that this is specified by POSIX:

http://pubs.opengroup.org/onlinepubs/007908799/xbd/termios.html


Attachment: pgp7ykJYKOKPJ.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]