Skip to content

Async external events support #22

@mryndzionek

Description

@mryndzionek

Hello,

Would it be possible to add more generic support for external events? I tried to hook-up timer events based on epoll and timerfd. It seems however that the method showed in the external_events.py doesn't work for purely async events (e.g. for bthreads that start just waiting for an async event, etc). There is no way then to tell when to send an Idle event. Would it be possible to add a callback run here? Then also the bthread ending detection would have to be adjusted (i.e. based on the generator/continuation actually ending, not the absence of events).

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