You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wonder if it would be wise to remove the enable/disable stream register from the Heartbeat device so that ONIContextTask.ReadFrame() could have a hardware-based watchdog, like the following:
public oni.Frame ReadFrame(){if(Monitor.TryEnter(readLock,new TimeSpan(0,0,1))){try{return ctx.ReadFrame();}finally{
Monitor.Exit(readLock);}}else{thrownew Bonsai.WorkflowRuntimeException("Host lost heartbeat.");}}
This may be is just a band aid over a more fundamental problem with RIFFA, and is only required because of issues with RIFFA.
The text was updated successfully, but these errors were encountered:
I wonder if it would be wise to remove the enable/disable stream register from the Heartbeat device so that ONIContextTask.ReadFrame() could have a hardware-based watchdog, like the following:
This may be is just a band aid over a more fundamental problem with RIFFA, and is only required because of issues with RIFFA.
The text was updated successfully, but these errors were encountered: