[prev in list] [next in list] [prev in thread] [next in thread]
List: gtk-devel
Subject: Re: how to ensure the threads safe?
From: Andreas Rottmann <a.rottmann () gmx ! at>
Date: 2005-03-19 12:41:49
Message-ID: 877jk34xki.fsf () ivanova ! rotty ! yi ! org
[Download RAW message or body]
"hrs" <huang_rs@163.com> writes:
> I've been working on a multi-thread project based on Gtk2. I used a
>listen thread beside the gtk-main thread. The listen thread is
>blocked until a message comes from the Linux Message Queue. When the
>listen thread received one message, it will create a dialog and show
>it. But the problem is the dialog cannot work successfully and the
>process was crashed. But in the gtk-main thread, there's no problem
>at all. What's the problem?
>
See http://www.gtk.org/faq/#AEN482
HTH, Rotty
--
Andreas Rottmann | Rotty@ICQ | 118634484@ICQ | a.rottmann@gmx.at
http://yi.org/rotty | GnuPG Key: http://yi.org/rotty/gpg.asc
Fingerprint | DFB4 4EB4 78A4 5EEE 6219 F228 F92F CFC5 01FD 5B62
Python is executable pseudocode, Perl is executable line-noise.
_______________________________________________
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic