Skip to content

Global s_allocatedNodes accessed without synchronization #80

@turol

Description

@turol

Global s_allocatedNodes is defined here:

DDLNode::DllNodeList DDLNode::s_allocatedNodes;

and accessed in multiple places without synchronization. This can break badly when the library is used in multithreaded program, for example with several instances of assimp Importer.

A workaround would be adding synchronization to all accesses. An actual solution would be removing this and making it local to each instance somehow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions