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, 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?
--
Grant Edwards
grante@visi.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