X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Modules%2FIPStack%2Ftcp.h;h=ab910fb9446dc89bb371673df8b5cbf6b45e8685;hb=b0ab9997c3256041087483c0840247821bfa55c8;hp=492e035fe1834fce2f3a4d77e2e7347e213bc918;hpb=7d41780946656e59eac1771e667ddf281ea73f63;p=tpg%2Facess2.git diff --git a/Modules/IPStack/tcp.h b/Modules/IPStack/tcp.h index 492e035f..ab910fb9 100644 --- a/Modules/IPStack/tcp.h +++ b/Modules/IPStack/tcp.h @@ -67,7 +67,7 @@ struct sTCPListener tInterface *Interface; //!< Listening Interface tVFS_Node Node; //!< Server Directory node int NextID; //!< Name of the next connection - tSpinlock lConnections; //!< Spinlock for connections + tShortSpinlock lConnections; //!< Spinlock for connections tTCPConnection *Connections; //!< Connections (linked list) tTCPConnection *volatile NewConnections; tTCPConnection *ConnectionsTail; @@ -98,7 +98,7 @@ struct sTCPConnection * \note FIFO list * \{ */ - tSpinlock lQueuedPackets; + tMutex lQueuedPackets; tTCPStoredPacket *QueuedPackets; //!< Non-ACKed packets /** * \} @@ -109,7 +109,7 @@ struct sTCPConnection * \note Ring buffer * \{ */ - tSpinlock lRecievedPackets; + tMutex lRecievedPackets; tRingBuffer *RecievedBuffer; /** * \} @@ -120,7 +120,7 @@ struct sTCPConnection * \note Sorted list to improve times * \{ */ - tSpinlock lFuturePackets; //!< Future packets spinlock + tShortSpinlock lFuturePackets; //!< Future packets spinlock tTCPStoredPacket *FuturePackets; //!< Out of sequence packets /** * \}