Skip to content

Local Variables and Context Switch #10

@antony-s-king

Description

@antony-s-king

Section 2 pg 78 has a brief discussion on local variables, It states the common misconception that these variables operate in the UI thread and a context switch is required for every call of a local variable node, which is incorrect. It does add some small overhead in terms of the transfer buffer for writes and a mutex lock for reads but calls do not implicitly result in a context switch to the UI thread.

NI has a Knowledge base Article on this here: https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000015AJlSAM&l=en-NZ

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