OpenSimMirror/OpenSim/Region/ClientStack/Linden/UDP
Justin Clark-Casey (justincc) ce8441132e Restore sending of OutPacket() for object kills removed in commit c7dd7b1.
OutPacket() must be called within the m_killRecord lock.  Otherwise the following event sequence is possible
1) LLClientView.ProcessEntityUpdates() passes the kill record check for a particular part suspends before OutPacket()
2) Another thread calls LLClientView.SendKillObject() to delete the same part and modifies the kill record
3) The same thread places the kill packet on the Task queue.
4) The earlier thread resumes and places the update packet on the Task queue after the kill packet.
This results in a ghost part in the sim that only goes away after client relog.
This commit also removes the unnecessary m_entityUpdates.SyncRoot locking in SendKillObject.
2011-11-11 22:37:57 +00:00
..
Tests Get rid of some traces of the old pre-ROBUST grid architecture config 2011-10-12 21:51:34 +01:00
IncomingPacket.cs First stab at cleaning up Caps. Compiles. Untested. 2011-04-30 09:24:15 -07:00
IncomingPacketHistoryCollection.cs First stab at cleaning up Caps. Compiles. Untested. 2011-04-30 09:24:15 -07:00
J2KImage.cs First stab at cleaning up Caps. Compiles. Untested. 2011-04-30 09:24:15 -07:00
LLClientView.cs Restore sending of OutPacket() for object kills removed in commit c7dd7b1. 2011-11-11 22:37:57 +00:00
LLImageManager.cs First stab at cleaning up Caps. Compiles. Untested. 2011-04-30 09:24:15 -07:00
LLUDPClient.cs minor: insert some commented out log lines which are a blunt but useful instrument to see packet expiry and received acks 2011-10-12 19:35:40 +01:00
LLUDPServer.cs Improve some method doc for LLUDPClient, LLUDPServer and UnackedPacketCollection 2011-10-12 19:22:30 +01:00
OpenSimUDPBase.cs First stab at cleaning up Caps. Compiles. Untested. 2011-04-30 09:24:15 -07:00
OutgoingPacket.cs First stab at cleaning up Caps. Compiles. Untested. 2011-04-30 09:24:15 -07:00
ThrottleRates.cs First stab at cleaning up Caps. Compiles. Untested. 2011-04-30 09:24:15 -07:00
TokenBucket.cs minor: remove some mono compiler warnings 2011-07-30 03:19:00 +01:00
UnackedPacketCollection.cs minor: insert some commented out log lines which are a blunt but useful instrument to see packet expiry and received acks 2011-10-12 19:35:40 +01:00