Skip to content

API to know when to call uiMainStep #117

@daurnimator

Description

@daurnimator

Instead of calling uiMainStep on some arbitrary timer, provide a way know when to step next.

I'd suggest a function that returns both:

  1. a file descriptor (unix) or HANDLE (windows) to wait on
  2. a timeout

These would then be passed (by the user) to poll/select(unix)/WaitForMultipleObjects(windows) to multiplex the UI with other (e.g. network) resources.

Metadata

Metadata

Assignees

No one assigned

    Labels

    custom main loopsTie them together so I don't have to keep looking these up

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions