Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ordered sendq (once more with feeling edition)
Implemented ordering by use of a lock-and-pulse queue. This mechanism does use a syncroot and thus isn't lock free, but performs far better than the previous iterations. The SendData mechanism has been reverted as this method no longer relies on the allocations of sequences. CPU has been drastically reduced because of the reduction in looping in the write threads, and sits between 0-2% with 35 players in live testing. Fixes Pryaxis/TShock#1049, #27, #26, #9
- Loading branch information