Race conditions in serial_select
Jay Foster
jay@systech.com
Tue Jun 28 15:19:00 GMT 2005
Looks fine to me.
Jay
-----Original Message-----
From: Andrew Lunn [mailto:andrew@lunn.ch]
Sent: Tuesday, June 28, 2005 1:36 AM
To: Jay Foster
Cc: 'Andrew Lunn'; Gaer, A.; ecos-patches@ecos.sourceware.org
Subject: Re: Race conditions in serial_select
On Mon, Jun 27, 2005 at 01:11:39PM -0700, Jay Foster wrote:
> In the existing code, it looks like cbuf is assigned either the value
> &chan->in_cbuf or &chan->out_cbuf, depending on the value of 'which'
> (CYG_FREAD or CYG_FWRITE). In the proposed patch, it is always assigned
the
> value &chan->in_cbuf. This probably is not what was intended.
Duh!
After a nights sleep i tried again....
Andrew
More information about the Ecos-patches
mailing list