Skip to content

Infinite loop in spin-lock implementation if CancellableContunuation reusability #3613

@qwwdfsad

Description

@qwwdfsad

Cherry-picked internal report, so not much details are here.
I'll provide a detailed explanation along with test and a fix in a follow-up PR.

TL;DR it is caused by an exceptional path (i.e. Mutex.lock(owner)) along with acquiring reusability token

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions