Menu

#370 Only process UI events when Fuse is paused

future
open
nobody
None
5
2016-07-23
2016-06-09
No

Only process UI events when Fuse is paused. Changes from BogDan Vatra in [#349].

1 Attachments

Related

Patches: #349

Discussion

  • Fredrick Meunier

    Hi BogDan,
    Could you describe why you need this change in some more detail?

    The integrated GTK+ and Win32 UIs obviously seem to run their events effectively when paused and on the Mac I have an external run loop that calls into the emulator rather than the reverse. There may be a way that works better for more envronments.

     
  • BogDan Vatra

    BogDan Vatra - 2016-07-23

    Hi,

    Sorry for slow repy.

    QML is quite different from GTK+ and Win32 because it runs FUSE engine in a separate thread.
    This patch is needed to allow QML UI to post runnables that changes FUSE engine on FUSE engine thread even when it is paused. The runnables are runned on ui_even() function (check https://github.com/bog-dan-ro/spectacol/blob/master/fuse/ui/qml/qmlui.cpp#L138 ).
    Having said that, this patch is a must for Spectacol.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.