Skip to content

Thread local, !Send + !Sync version of Event #47

@yshui

Description

@yshui

Does it make sense to have a !Send + !Sync version of Event, to be used with LocalExecutor? Feels silly to pay the cost of thread synchronization when everything is happening on a single thread.

(and also a thread local version of Mutex and RwLock, which IIUC is based on event_listener?)

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