Skip to content

Make shared library thread-safe #2

@jimkring

Description

@jimkring

At present, there is a very good likelihood that the shared library is not thread safe. As such, all of the call library function (CLF) nodes are configured to run in the user interface thread of LabVIEW. This means that the DLL is thus always called from the same thread (which addresses thread safety issues), but, it can also create undesirable behaviors in relationship to the user interface and the “root loop”.

It could be possible that using a different data structure than Box<> for object references would be sufficient.

More research and investigation needs to be done around thread safety and our approach to calling rust code from LabVIEW.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions