Skip to content

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

@marktsuchida

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions