bluesky/ophyd

Race condition in StableSubscriptionStatus

Opened this issue · 0 comments

During the check_value and set_finished functions in StableSubscriptionStatus, it is possible for a thread to try and start or cancel the self._stable_timer while it has already started or cancelled. A lock is needed in these functions to make sure this can't happen