Remove scheduler sleeps from RUDP body bursts

This commit is contained in:
Meta Vens 2026-07-19 16:28:06 +01:00
commit 2afec5c5dc
4 changed files with 6 additions and 6 deletions

View file

@ -14,7 +14,7 @@
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<Copyright>© Meta Vens and contributors</Copyright>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<Version>1.0.32</Version>
<Version>1.0.33</Version>
<!-- Symbols/debugging -->
<EmbedUntrackedSources>true</EmbedUntrackedSources>

View file

@ -653,8 +653,8 @@ managed session, assert zero snapshot requests, assert warm committed reuse
without another network request, and round-trip both wire messages through the
schema dispatcher. RUDP schema hosts and managed clients distinguish transport
progress from dispatched messages and drain bounded available work without
idle sleeps. Wire sends pace one 32-packet acknowledgement window at a time
instead of paying a Windows scheduler quantum for every fragment; a real UDP
idle sleeps. Wire sends cooperatively yield after each 32-packet acknowledgement
window without sleeping for a Windows scheduler quantum; a real UDP
content-session test transfers a four-chunk, one-megabyte request window through
the public transfer owner within its ten-second regression bound.
The released EveUnity/Aetheria `cold-start-lowering` run now promotes the

View file

@ -1995,7 +1995,7 @@ namespace GameCult.Networking
{
SendPacket(packets[index]);
if ((index + 1) % WireBurstPackets == 0 && index + 1 < packets.Count)
Thread.Sleep(1);
Thread.Yield();
}
}
@ -2408,7 +2408,7 @@ namespace GameCult.Networking
{
SendPacket(peer.RemoteEndPoint, packets[index]);
if ((index + 1) % WireBurstPackets == 0 && index + 1 < packets.Count)
Thread.Sleep(1);
Thread.Yield();
}
}

View file

@ -1,7 +1,7 @@
{
"name": "org.gamecult.cultlib",
"displayName": "CultLib",
"version": "1.0.32",
"version": "1.0.33",
"unity": "2021.3",
"description": "CultCache, CultNet, and CultMesh managed runtime assemblies for Unity.",
"license": "MIT",