API to know when to call `uiMainStep`
Ouverte
custom main loops
- Langage dominant
- C
- Étoiles
- 10.9k
- Forks
- 612
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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.
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.