Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.

[GTK] Fix synchronization context fairness#4237

Merged
rmarinho merged 1 commit intoxamarin:masterfrom
fluendo:bug-synchronization-context
Nov 6, 2018
Merged

[GTK] Fix synchronization context fairness#4237
rmarinho merged 1 commit intoxamarin:masterfrom
fluendo:bug-synchronization-context

Conversation

@ylatuya
Copy link
Copy Markdown
Contributor

@ylatuya ylatuya commented Oct 27, 2018

Description of Change

GLib.Idle.Add enqueues functions in the main loop with the lowest priority, so while the UI is updating tasks will be queued in the main loop. Using Gtk.Application.Invoke they are interleaved with UI
updates and handled with more fairness.

Issues Resolved

API Changes

None

Platforms Affected

  • Gtk

Behavioral/Visual Changes

None

Before/After Screenshots

Not applicable

Testing Procedure

PR Checklist

  • Has automated tests
  • Rebased on top of the target branch at time of PR
  • Changes adhere to coding standard

GLib.Idle.Add enqueues functions in the main loop
with the lowest priority, so while the UI is updating
tasks will be queued in the main loop.
Using Gtk.Application.Invoke they are interleaved with UI
updates and handled with more fairness.
@rmarinho rmarinho merged commit 4d5414b into xamarin:master Nov 6, 2018
@samhouts samhouts added this to the 4.0.0 milestone Dec 4, 2018
@samhouts samhouts modified the milestones: 4.0.0, 3.5.0 Jan 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants