From 294a947deea8373b379b0d495cbd38a041fcd18d Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Wed, 11 Nov 2026 13:33:59 -0800 Subject: [PATCH] Docs: an exit handler's work answers Exiting for a making not begun, without a claim about that work's end The accepted difference said the work that needed such a making fails; what that work's command buffer then answers was not run. It now says what was run: the making answers that the process is exiting. Verified: docs only. --- docs/API.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/API.md b/docs/API.md index 53d1b2187..6470ab555 100644 --- a/docs/API.md +++ b/docs/API.md @@ -5293,8 +5293,8 @@ each item named states the rule in full. again after each making, and the exit runs it before the program's handler, after the destructors the driver's compiler registered at that making: that run ends the makings and waits for those in progress, and leaves the rest of the runtime running, so the handler's other - work is submitted and completes, as Metal's exit runs it. A pipeline its work needs that was - not made yet answers the same, failing that work. + work is submitted and completes, as Metal's exit runs it. A making its work needs that had not + begun answers the same. - **On a CPU device (lavapipe, SwiftShader), an exit handler the program registered before a later pipeline making finds the process exiting**: its waits answer `WaitWouldDeadlock` of `DeadlockCause::Exiting` and the work it commits stays pending, where Metal's exit runs it. A