Timestamp:
09/29/98 12:15:08 (26 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
21bfd93
Parents:
d7fcc1d
Message:

Patch from Eric Norum <eric@…>:

Remember the test to see if a socket could be read and written at
the same time by two different tasks? I discovered that if both
tasks attempt to close the socket a panic can occur from inside the
BSD code.

Closing the same socket twice from two different threads is
certainly an error, but a panic is not the greatest error reporting
method :-)

The following small change to the socket close routine should reduce
the chances of the panic.

(No files)

Note: See TracChangeset for help on using the changeset viewer.