andlabs/libui

request: uiMainStepPoll()

開放

#146 建立於 2016年6月16日

 (24 則留言) (0 個反應) (0 位負責人)C (613 個分叉)batch import
custom main loopsenhancementhelp wantedquestion

倉庫指標

星標
 (10,896 顆星)
PR 合併指標
 (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...

貢獻者指南