[MG_Remote, MG_Test, scripts] (P12): the server's own window - ServerDisplay (an opaque window with hooks, a lease, a bounded Detach), the ServerOwned arm with the one-mode-per-session latch and the named no-display refusal, the lost-window release on the apply thread and the ServerWindowLost family

This commit is contained in:
2026-09-23 23:55:23 -04:00
parent 457aebe7f0
commit 844b217661
11 changed files with 1232 additions and 5 deletions
+1
View File
@@ -54,6 +54,7 @@
"RetirementWaitFailed",
"RingOverrun",
"RoleViolation",
"ServerWindowLost",
"StageSnapshotTooNarrow",
"UncarriedInitialBytes",
"UnexpectedMapAccept",
+6
View File
@@ -67,6 +67,12 @@ UNREACHABLE = [
"rows) before a frame reaches the dispatch"),
("ServerLoop.cpp", '"SurfaceOp.kind"',
"SurfaceOpCodec refuses an unknown wire kind (SurfaceOpUnknownKind) before the dispatch"),
# P12 (D6): not a peer's byte at all - the server's OWN display window was destroyed
# (ServerDisplay::Detach from the display Activity's surfaceDestroyed). Its control is
# ServerLoopTest's ALostServerWindowIsReleasedOnTheApplyThreadBeforeDetachReturnsAndLatchesByName.
("ServerLoop.cpp", '"surfaceDestroyed"',
"raised by the server's own display (surfaceDestroyed -> ServerDisplay::Detach), never by the "
"peer's bytes; ServerLoopTest's lost-window case is its negative control"),
]
REMOTE = ROOT / "MobileGL" / "MG_Remote"