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
The current implementation of the timer calls directly its observers. For our usecase, the overhead of the calls on the work duration is negligeable. But, if an observer wanted to do a blocking call, it would also block the timer which is not wanted.
A consumer thread should be added to handle the calls to the observers. The timer would then only post updates in a safe way to the consumer thread. Preventing it to be blocked.
The text was updated successfully, but these errors were encountered:
The current implementation of the timer calls directly its observers. For our usecase, the overhead of the calls on the work duration is negligeable. But, if an observer wanted to do a blocking call, it would also block the timer which is not wanted.
A consumer thread should be added to handle the calls to the observers. The timer would then only post updates in a safe way to the consumer thread. Preventing it to be blocked.
The text was updated successfully, but these errors were encountered: