Skip to content

Potential race condition when SVEAManager gets state from LocalizationInterface #32

@rcywongaa

Description

@rcywongaa

In https://github.com/KTH-SML/svea/blob/main/src/svea_core/src/svea/svea_managers/svea_archetypes.py#L68

SVEAManager directly gets the current state from the LocalizationInterface.

However, as per https://github.com/KTH-SML/svea/blob/main/src/svea_core/src/svea/interfaces/localization.py#L90
state is updated in a separate thread.

This could lead to a race condition

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