Re: Invoking GTK main thread from other threads

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.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]