Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GTask is unusable #150

Closed
v1993 opened this issue Nov 30, 2016 · 6 comments
Closed

GTask is unusable #150

v1993 opened this issue Nov 30, 2016 · 6 comments

Comments

@v1993
Copy link
Contributor

v1993 commented Nov 30, 2016

Please, look at this:
> lgi = require 'lgi'
> gio = lgi.Gio
> a = gio.Task(nil, gio.Cancellable(), function() print('Yay!!!') end)
> print(a.run_in_thread)
[string "print(a.run)"]:1: Gio.Task: no 'run_in_thread'
...

@TingPing
Copy link
Contributor

TingPing commented Nov 30, 2016

Should be fixed by this upstream: https://bugzilla.gnome.org/show_bug.cgi?id=693576

(assuming lgi handles the threading parts?)

@pavouk
Copy link
Collaborator

pavouk commented Feb 19, 2017

lgi should be thread-safe in most use cases, so after the fix lands in glib, this should start to work.

@TingPing
Copy link
Contributor

It might help move it along if somebody from lgi tests it and insures it works here too.

@v1993
Copy link
Contributor Author

v1993 commented Sep 23, 2018

It still isn't working. Bug: https://gitlab.gnome.org/GNOME/glib/issues/668

@v1993
Copy link
Contributor Author

v1993 commented Jul 17, 2019

Is this outdated now with #226?

@v1993
Copy link
Contributor Author

v1993 commented May 22, 2020

This function is there in last Gtk/GLib, closing this.

@v1993 v1993 closed this as completed May 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants