Skip to content

Better concurrency pattern for LivePrinters #439

@MarvinJWendt

Description

@MarvinJWendt

Currently, the live printers do not adhere to a common concurrency pattern, which has resulted in thread safety issues such as those described in issue #391. In order to fix these issues, I suggest introducing a mutex to ensure the thread safety of the variables.

However, it is worth noting that this change may necessitate the migration of some methods to pointer methods, which could potentially be a breaking change. Further investigation will be required to determine the full extent of this impact.

This issue was previously identified in relation to the SpinnerPrinter in issue #423.

Metadata

Metadata

Assignees

No one assigned

    Labels

    proposalProposal to add a new feature to ptermproposal-acceptedProposals which are accepted for implementation in the future

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions