Re: Invoking GTK main thread from other threads

Daniel Boles via gtkmm-list <[email protected]> Sat, 12 Sep 2020 14:44:25 +0100
Newsgroups gmane.comp.gnome.gtkmm
Message-ID <CAKChMKN92giz6NNq6dK=HQ_7syRBXorSdd61poPXMCxOtSBSVg@mail.gmail.com>
Or maybe it's not so bad, since I usually only need to do things once, when
the main thread resumes, and that sounds OK. Phew! :-D

> The connect*_once() variants, Glib::SignalIdle::connect_once(),
Glib::SignalTimeout::connect_once(),
Glib::SignalTimeout::connect_seconds_once(), are thread-safe for any case
where the slot is not created by a call to sigc::mem_fun() which represents
a method of a class deriving from sigc::trackable.

_______________________________________________
gtkmm-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gtkmm-list