Commit Graph

9 Commits

Author SHA1 Message Date
nopjmp
8d0ea08ca7 misc clean up of locks and add more readonly.
UtilizationStatistics.cs: "deep copy" statistics out
2019-12-16 19:50:19 -06:00
nopjmp
9754a1dc66 switch back to a class object instead of a struct 2019-12-11 21:00:06 -06:00
nopjmp
1e19e95d46 Update XmlRpcCore to move to HttpClient implementation 2019-12-04 17:26:35 -06:00
nopjmp
202b95ae0e bring back primitive outgoing packet throttle 2019-12-02 00:03:34 -06:00
nopjmp
ca23a4efe1 fix _packetInboxCount/_packetOutboxCount accounting
I failed to reset to zero and decrement the count.
2019-12-01 20:50:44 -06:00
nopjmp
e9022b6cc3 rewrite packet handling to use Threading Channels
This should prevent unnecessary wait looping internally and lower the packets time to start processing.

Seems to fix WoofBot's packet processing hot path.
2019-12-01 20:23:35 -06:00
nopjmp
7a4588e65a Remove custom Queue implementations
* Additionally use a SemaphoreSlim for checking queue size and waiting
* Use ConcurrentQueue for most things
2019-10-26 16:38:51 -05:00
nopjmp
44feb64f46 Clean up UDP Packet buffers 2019-10-25 10:46:20 -05:00
Ricky C
f1e4854bab File name change part 1 2017-03-11 22:21:07 -08:00