Files
Jungfraujoch/receiver
leonarski_fandClaude Opus 5 a59be89192 receiver: bound the wait for a start message that never arrives
JFJochReceiverLite::MeasurementThread polls for the start message with no way out other than
the cancelled flag, and JFJochServices::Stop cancels the receiver silently once the detector
reads back idle - a silent cancel deliberately does not set cancelled, since it reports that
the detector has finished rather than asking for an abort. A run whose start message never came
therefore left Stop() waiting on this thread indefinitely, and only an operator pressing cancel
got the broker back.

Cancel(bool) is overridden to record that the detector has finished, and the pre-start poll
gives up five seconds later. The grace is there because the detector can also read back as idle
for a moment just after it was armed, so a run is not abandoned the instant the silent cancel
arrives; the flag is consulted nowhere else, so images already being processed are untouched.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012bew392LTGP2fkhfRJsMcB
2026-09-11 19:19:45 +02:00
..
2026-06-23 20:29:49 +02:00
2026-07-03 19:18:56 +02:00
2026-07-03 19:18:56 +02:00
2025-06-11 19:53:33 +02:00
2026-06-08 08:30:35 +02:00
2026-09-09 07:25:13 +02:00
2026-07-03 19:18:56 +02:00
2026-07-03 19:18:56 +02:00
2026-06-23 20:29:49 +02:00
2026-06-23 20:29:49 +02:00
2026-08-27 22:16:54 +02:00
2026-08-27 22:16:54 +02:00
2026-06-23 20:29:49 +02:00
2026-06-23 20:29:49 +02:00
2025-05-28 18:49:27 +02:00
2026-06-08 08:30:35 +02:00