Re: Signal emission from an object thread
- Date: Fri, 17 Mar 2017 09:52:38 +0100
- From: Emmanuel Pacaud <emmanuel@xxxxxxxxx>
- Subject: Re: Signal emission from an object thread
Le ven. 17 mars 2017 à 6:43, Tristan Van Berkom
<tristan.vanberkom@xxxxxxxxxxxxxxx> a écrit :
On Thu, 2017-03-16 at 10:42 +0100, Emmanuel Pacaud wrote:
I have an issue related to the use of g_signal_emit called from an
I have used GWeakRef for references that threads make to objects owned
by parent thread which may finalize with parent, to solve similar
problems, but I dont believe I've tried using signals belonging to a
thread spawning object from the thread itself.
Another approach, if you want to keep using GSignal, would be to
a different object that is owned completely by the thread.
I think I will use this solution.
Thanks for your suggestions.
gtk-list mailing list