This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: simultaneous socket write/close causes panic?
On Mon, 2002-10-28 at 14:42, Grant Edwards wrote:
> On Mon, Oct 28, 2002 at 02:38:48PM -0700, Gary Thomas wrote:
>
> > > [using a eCos and network snapshot from Jan 2001]
> > >
> > > A customer has reported to me that simultaneously writing and
> > > closing a socket causes the system to crash with the message
> > > "PANIC: sbflush". I believe that this error was caused by
> > > having one thread close a socket while another thread is
> > > writing data to the socket.
> [...]
>
> > a) Don't do that.
> > b) If it could be reproduced with the new stack, it might be
> > worth looking at. Otherwise, goto "a"
>
> Are the driver and application APIs for the new stack identical
> to the old ones? Is it a drop-in, pin-compatible, replacement
> part?
It's supposed to be that way.
--
------------------------------------------------------------
Gary Thomas |
eCosCentric, Ltd. |
+1 (970) 229-1963 | eCos & RedBoot experts
gthomas@ecoscentric.com |
http://www.ecoscentric.com/ |
------------------------------------------------------------
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss