This is the mail archive of the
ecos-discuss@sourceware.cygnus.com
mailing list for the eCos project.
TCP/IP preemption fix
- To: Grant Edwards <grante at visi dot com>
- Subject: [ECOS] TCP/IP preemption fix
- From: Gary Thomas <gthomas at redhat dot com>
- Date: Wed, 12 Apr 2000 18:13:04 -0600 (MDT)
- Cc: eCos Discussion <ecos-discuss at sourceware dot cygnus dot com>
Grant,
Can you see if these patches fix [at least] the sockbuf corruption
problem you were seeing? Everything except possibly the 'ChangeLog'
patches should apply cleanly. I've attached them separately to
avoid mailer madness :-)
The basic idea I've incorporated is to use the eCos scheduler lock
to emulate the user/kernel behaviour from the BSD world (i.e. kernel
code cannot be preempted)
Let me know if this helps.
diffs