Skip to content

Deadlock in when poll is hooked by coroutine lib #355

Closed
@asurdo

Description

@asurdo

I meet a deadlock case when using 'getrandom_inner' in libco environment, and libco will hook poll.

co1 and co2 are two coroutine, and this happen at the first call of getrandom_inner: co1 poll and switch to co2, co2 deadlock when call mutex.lock

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