Re: strange segfault in threading
- From: Michael Ekstrand <mekstran scl ameslab gov>
- To: Luka Napotnik <luka napotnik gmail com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: strange segfault in threading
- Date: Wed, 14 Mar 2007 08:40:32 -0500
On Wed, 2007-03-14 at 11:49 +0100, Luka Napotnik wrote:
while (gtk_events_pending())
gtk_main_iteration();
gdk_threads_leave();
I don't think it's correct to try to run the main loop (which is what
the gtk_events_pending/gtk_main_iteration does) from a second thread. I
can't promise this is the problem, but that looks extremely shady to me.
- Michael
--
Michael Ekstrand
Research Assistant, Scalable Computing Laboratory
Goanna, compute cluster and InfiniBand network monitor tool:
http://www.scl.ameslab.gov/Projects/Monitor/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]