G3.1: dedicated bridge heartbeat — watchdog liveness independent of audio loop
This commit is contained in:
@@ -55,4 +55,10 @@ struct SharedAudioBufferIPC {
|
||||
// to extend its stall deadline — a long Nexus attach must not look like
|
||||
// a dead bridge. Append-only field: existing offsets stay stable.
|
||||
volatile uint32_t attachInFlight;
|
||||
|
||||
// G3.1: dedicated heartbeat, incremented every 100ms by a bridge-side
|
||||
// thread INDEPENDENT of the audio loop. The Tauri watchdog keys bridge
|
||||
// liveness on this, so a slow (but alive) audio loop no longer looks dead.
|
||||
// Append-only field: existing offsets stay stable.
|
||||
volatile uint32_t heartbeat;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user