[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-dev] tests hanging on netsbd-6 i386
From: |
Eric S. Raymond |
Subject: |
Re: [gpsd-dev] tests hanging on netsbd-6 i386 |
Date: |
Sat, 31 Jan 2015 13:49:00 -0500 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
Greg Troxel <address@hidden>:
>
> I read
>
> http://pubs.opengroup.org/onlinepubs/007908799/xbd/termios.html
>
> some more. Something jumped out at me. In the VMIN > 0 VTIME > 0 case,
> VTIME is an inter-byte timer. If no bytes are available when read is
> called, and none arrive, then the call does not end after VTIME.
That's right. This case always blocks until at least one byte arrives. Not
only did I know this, I was counting on that behavior.
> I put in some test logging, and it seems packet_get is called routinely
> when there is not at least a byte available.
Hm. That shouldn't be the case, the way the main loop is set up. I'll
investigate.
--
<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>
signature.asc
Description: Digital signature
- [gpsd-dev] tests hanging on netsbd-6 i386, Greg Troxel, 2015/01/30
- Re: [gpsd-dev] tests hanging on netsbd-6 i386, Eric S. Raymond, 2015/01/30
- Re: [gpsd-dev] tests hanging on netsbd-6 i386, Greg Troxel, 2015/01/30
- Re: [gpsd-dev] tests hanging on netsbd-6 i386, Greg Troxel, 2015/01/30
- Re: [gpsd-dev] tests hanging on netsbd-6 i386, Eric S. Raymond, 2015/01/30
- Re: [gpsd-dev] tests hanging on netsbd-6 i386, Greg Troxel, 2015/01/30
- Re: [gpsd-dev] tests hanging on netsbd-6 i386, Eric S. Raymond, 2015/01/30
- Re: [gpsd-dev] tests hanging on netsbd-6 i386, Greg Troxel, 2015/01/30
- Re: [gpsd-dev] tests hanging on netsbd-6 i386, Greg Troxel, 2015/01/30
- Re: [gpsd-dev] tests hanging on netsbd-6 i386,
Eric S. Raymond <=
- Re: [gpsd-dev] tests hanging on netsbd-6 i386, Eric S. Raymond, 2015/01/31
- Re: [gpsd-dev] tests hanging on netsbd-6 i386, Eric S. Raymond, 2015/01/30
Re: [gpsd-dev] tests hanging on netsbd-6 i386, Greg Troxel, 2015/01/30