diff --git a/Directory.Build.props b/Directory.Build.props index 060066c4..db26d4f3 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -14,7 +14,7 @@ MIT © Meta Vens and contributors true - 1.0.32 + 1.0.33 true diff --git a/src/GameCult.Mesh/docs/reliability-migration-plan.md b/src/GameCult.Mesh/docs/reliability-migration-plan.md index acddd1b9..b2153caa 100644 --- a/src/GameCult.Mesh/docs/reliability-migration-plan.md +++ b/src/GameCult.Mesh/docs/reliability-migration-plan.md @@ -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 diff --git a/src/GameCult.Networking/CultNetTransport.cs b/src/GameCult.Networking/CultNetTransport.cs index f50c4985..fc72b2d4 100644 --- a/src/GameCult.Networking/CultNetTransport.cs +++ b/src/GameCult.Networking/CultNetTransport.cs @@ -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(); } } diff --git a/unity/org.gamecult.cultlib/package.json b/unity/org.gamecult.cultlib/package.json index 8802d9ac..abf99ad6 100644 --- a/unity/org.gamecult.cultlib/package.json +++ b/unity/org.gamecult.cultlib/package.json @@ -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",