Skip to content

SP5: Add lock and unlock render actions to improve support for multi-threading environments #3095

@swharden

Description

@swharden

Following discussion with @bclehmann in the Discord (#1966), let's add some empty actions that get invoked at the start and end of each render which advanced users could add their own code into to wait for an optical lock state to be achieved before rendering and stay locked until after rendering.

This functionality should go in the RenderManager class https://github.com/ScottPlot/ScottPlot/blob/main/src/ScottPlot5/ScottPlot5/Rendering/RenderManager.cs

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