Giter Club home page Giter Club logo

Comments (7)

meebey avatar meebey commented on August 20, 2024 1

from gtk-sharp.

decriptor avatar decriptor commented on August 20, 2024

I'm not sure about the GlibSynchronizationContext, but my assumption is that the need for one comes long after any real active development. Here is one that the monodevelop team wrote however. https://github.com/mono/monodevelop/blob/fb12ccb7f4245eca20803661deaa37ead0ec35af/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/DispatchService.cs#L48

from gtk-sharp.

decriptor avatar decriptor commented on August 20, 2024

@Therzok could give a much better answer.

from gtk-sharp.

Therzok avatar Therzok commented on August 20, 2024

I don't think GTK# 2.12 had code written for it to use SynchronizationContext. It's probably way easier to copy the MonoDevelop one that @decriptor linked.

from gtk-sharp.

decriptor avatar decriptor commented on August 20, 2024

@Therzok Would it be worth "porting" that one over to GTK# 2.12 and just including it?

from gtk-sharp.

Therzok avatar Therzok commented on August 20, 2024

That means handling a new release of gtk#, which I don't know how to do. Copying it since it already exists in the codebase is an easy workaround.

from gtk-sharp.

sonicmouse avatar sonicmouse commented on August 20, 2024

Just an update: Using this synchronization context code, I pushed out an update to thousands of machines in a production environment and there have been no issues. The software is running on Linux (Ubuntu 18.04) and Windows (Win7 and Win10) with absolutely no issues to report.

So if there is anyone out there on the fence about using a synchronization context with GTK-Sharp 2.12, you may be in luck using the aforementioned code.

from gtk-sharp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.