- Use a spin lock to protect OSKit instead of a recursive mutex
authorCameron Gutman <aicommander@gmail.com>
Sat, 14 Nov 2009 18:38:02 +0000 (18:38 +0000)
committerCameron Gutman <aicommander@gmail.com>
Sat, 14 Nov 2009 18:38:02 +0000 (18:38 +0000)
commitf3d4211e560f5d8059339a6b3af9ccf75d1f3766
tree84d4e03ac52f2e6e3c0d0b695f6f98b1927c009e
parent283fdbd5105a35e93c350b491272885f3ad27e4f
 - Use a spin lock to protect OSKit instead of a recursive mutex
 - Remove the now unused recursive mutex code
 - Don't clear the SS_ISCONNECTING flag when soconnect returns EINPROGRESS because it causes a crash during soreceive
 - Lock CONNECTION_ENDPOINT and ADDRESS_FILE structs better
 - Remove incorrect IoMarkIrpPending calls
 - Remove useless ASSERT_LOCKED
 - Don't destroy so_connection when we close a connection
 - Remove useless FileFindConnectionByContext
 - Remove SignalledConnectionsList and SignalledConnectionsLock and simply loop through ConnectionEndpointList for signalled connections
 - Add connections to ConnectionEndpointList in TCPAllocateConnectionEndpoint instead of FileOpenConnection so we don't miss listeners
 - Remove connections from ConnectionEndpointList in TCPFreeConnectionEndpoint instead of FileCloseConnection so we don't miss listeners
 - Use ExInterlockedRemoveHeadList to remove entries in the address file's request lists
 - Remove useless members, flags, and variables in titypes.h and tcp.h
 - Fixes bug 4955 and 4434

svn path=/trunk/; revision=44163
18 files changed:
reactos/drivers/network/tcpip/include/fileobjs.h
reactos/drivers/network/tcpip/include/tcp.h
reactos/drivers/network/tcpip/include/titypes.h
reactos/drivers/network/tcpip/recmutex/recmutex.c [deleted file]
reactos/drivers/network/tcpip/recmutex/recmutex.h [deleted file]
reactos/drivers/network/tcpip/tcpip.rbuild
reactos/drivers/network/tcpip/tcpip/dispatch.c
reactos/drivers/network/tcpip/tcpip/fileobjs.c
reactos/drivers/network/tcpip/tcpip/lock.c
reactos/drivers/network/tcpip/tcpip/mocklock.c
reactos/lib/drivers/ip/transport/datagram/datagram.c
reactos/lib/drivers/ip/transport/rawip/rawip.c
reactos/lib/drivers/ip/transport/tcp/accept.c
reactos/lib/drivers/ip/transport/tcp/event.c
reactos/lib/drivers/ip/transport/tcp/tcp.c
reactos/lib/drivers/ip/transport/udp/udp.c
reactos/lib/drivers/oskittcp/include/oskittcp.h
reactos/lib/drivers/oskittcp/oskittcp/interface.c