Can we use Skyline.DataMiner.Core.DataMinerSystem NuGet libraries for multi-threaded actions?
For example create one IDms object and access it in multiple threads.
Michiel Saelen [SLC] [DevOps Enabler] Selected answer as best 15th February 2023
Hello Michiel,
Currently the classes within the DataMinerSystem libraries are not thread-safe.
The Dms classes use caching in the background in order to speed up data retrieval and make data configuration more efficient. Access to that cache from multiple threads can create race conditions.
You should instantiate a separate Dms object for each thread and then access it only from there.
Michiel Saelen [SLC] [DevOps Enabler] Posted new comment 15th February 2023

Can we add this information to the Readme file to make sure no other users are using it incorrectly then?
Thanks