Skip to content

TestThread does not synchronize properly #1067

Closed
@lostmsu

Description

@lostmsu

PyScopeTest.TestThread does not properly synchronize access to res and th_cnt variables.

A lock needs to be added to ensure update calls are serialized.

We should increase the number of threads to make the issue stand out if regressed.

For more details see #1022 (comment)

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