Skip to content

Lack of proper mutual exclusion for continuations in UnixEventProcessor. #6959

@ywkaras

Description

@ywkaras

e->continuation->setThreadAffinity(e->ethread);

Since the same continuation can be scheduled multiple times from different threads, shouldn't the event processor treat it as const? Unless the continuation has a mutex, and changes to the continuation happen while the mutex is locked?

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