Skip to content

TestConcurrentReadWrite bug #1

@cLazyZombie

Description

@cLazyZombie

in TestConcurrentReadWrite, each last go routine send -1 to succEnq, succDeq
but, last go routine do not guarantee that is executed last

so, increment enqSuccess, deqSuccess using sync.atomic.AddInt32(...) or other correct method

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions