andlabs/libui

request: uiMainStepPoll()

Open

#146 创建于 2016年6月16日

在 GitHub 查看
 (24 评论) (0 反应) (0 负责人)C (610 fork)batch import
custom main loopsenhancementhelp wantedquestion

仓库指标

Star
 (10,632 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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...

贡献者指南