Skip to content

Implement Double-checked locking #1

@marc-x-andre

Description

@marc-x-andre

Issues Type

  • Feature request

Description

Implement Double-checked locking

Reduce the overhead of acquiring a lock by first testing the locking criterion (the 'lock hint') in an unsafe manner; only if that succeeds does the actual locking logic proceed.

__ Warning __
Can be unsafe when implemented in some language/hardware combinations. It can therefore sometimes be considered an anti-pattern.

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