andlabs / andlabs/libui

request: uiMainStepPoll()

Offen
#146 24 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
custom main loops enhancement help wanted question
Vorherrschende Sprache
C
Sterne
10.9k
Forks
612
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

split from #95
a way to combine uiMainStep() with select() or poll()

on GTK+ and OS X this should be fine

on Windows I don't know one thing:

What would the equivalent of a `select()` be on Windows? It appears `MsgWaitForMultipleObjectsEx()` does not accept file or socket handles. Does it have to do with `OVERLAPPED`? I see [GLib accepts file handles on Windows...](https://developer.gnome.org/glib/2.40/glib-The-Main-Event-Loop.html#GPollFD)

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.