Skip to content

SBMLTransforms thread safety #232

@lkeegan

Description

@lkeegan

SBMLTransforms uses a static member variable map mValues for caching component values.

If libsbml is used from multiple threads this can cause corrupted data and/or segfaults since all the threads are using the same map, e.g. if one thread clears the map while another thread is using it (see spatial-model-editor/spatial-model-editor#786)

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