Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Faster device initialization by multi-threading. #519

Merged
merged 8 commits into from
Nov 6, 2024

Commits on Oct 28, 2024

  1. Core: started multi-threaded initialization.

    Nico Stuurman committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    3cf855e View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2024

  1. Core: multi-threaded device initialization, one thread per device adp…

    …ater.
    Nico Stuurman committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    ab6dea5 View commit details
    Browse the repository at this point in the history
  2. Core: multi-threaded device initialization, cleanup and assignDefault…

    …Role synchronous.
    Nico Stuurman committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    7ca1fa8 View commit details
    Browse the repository at this point in the history
  3. Core: increment minor version as per Semver.

    Nico Stuurman committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    2cee9e0 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2024

  1. Core: Added ParallelDeviceInitialization feature set enabled by defau…

    …lt. Setting it false will use the old code to do serial initialization.
    
    Also ensure that ports are initialized first.
    Needs testing on several systems before merging.
    Nico Stuurman committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    f3dba34 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2024

  1. Core-fast initialization: replaced deque with a vector (simpler), and…

    … clear the used vectors at the end of the function.
    
    I am not quite sure if this is needed, but after this change, I no longer
    saw an exception on Micro-Manager shutdown, so it may be helpful.
    Nico Stuurman committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    4adff8f View commit details
    Browse the repository at this point in the history
  2. Core: in parallel device initialization, catch first exception, initi…

    …alize all other devices, ignoring more exceptions if they occur, then rethrow first exception.
    Nico Stuurman committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    a52a350 View commit details
    Browse the repository at this point in the history
  3. Core: Fix typo in commment.

    Nico Stuurman committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    cc8b438 View commit details
    Browse the repository at this point in the history