mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-26 04:22:02 +01:00
Review follow-ups: - A timed-out request now returns `GpuContextError::TimedOut` with an `AbandonedRequest` handle (same message as before). `GpuRenderer` keeps only its own handle and waits on that when dropped, so an ordinary adapter failure no longer waits for another renderer's abandoned request. - The result goes through a rendezvous channel, and the receiver is dropped on timeout, so an unclaimed context is dropped on the worker before the request counts as finished. - The timeout is now `run_with_timeout`, unit-tested with held work: it counts as running until released, and an unclaimed result is dropped first. - The docs say what a `false` from either wait means. Signed-off-by: FredApps <153173854+FredApps@users.noreply.github.com>