Skip to content

MMCore: Aggregate wait functions don't handle timeout correctly #913

Description

@marktsuchida

waitForDeviceType(), waitForSystem(), waitForConfig() all call waitForDevice() in a loop, meaning that each device (that happens to be busy) adds to the effective timeout for the devices awaited last.

Instead, all awaited devices should use a deadline relative to the start of the call.

Or relative to the last time a set-operation was performed on the device — which would be the most correct. But we also need to allow for devices that can spontaneously become busy.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions