This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: MS_TICKS() revisited
- To: Jonathan Larmour <jlarmour at redhat dot com>
- Subject: Re: [ECOS] MS_TICKS() revisited
- From: Gary Thomas <gthomas at cambridge dot redhat dot com>
- Date: Sun, 11 Feb 2001 13:18:16 -0700 (MST)
- Cc: ecos-discuss at sources dot redhat dot com, Grant Edwards <grante at visi dot com>
- Organization: Red Hat, Inc.
On 09-Feb-2001 Jonathan Larmour wrote:
>> NB: this patch also includes a fix to net_io_getc_nonblock() so
>> that it always sets its return value properly. AFAICT, the
>> old version worked OK because whatever happened to be left
>> in R0 when the function fell off the bottom always had a
>> non-zero.
>
> I've already fixed this in the repository, so Gary, if you get there before
> I do, be warned :-).
>
I think there are some uses of 'MS_TICKS()' [the old one] that you've
missed. In particular, in the xyzModem code - this gets used to allow
time to pass. Also, ping, and some others I'm sure.
When I get a chance, I'll verify these changes.