Re: Regrading gtk thread
- From: Sohel <itsmy_emale yahoo com>
- To: gtk-app-devel-list gnome org
- Subject: Re: Regrading gtk thread
- Date: Sat, 8 Sep 2007 03:42:43 -0700 (PDT)
Hi David,
Thanks for the reply. I resolved that error but I have one more problem. I want to exit the thread when I
call the following function:
//I have only one thread in my code
gtk_thread_exit(NULL)
my entire program exits, instead of the thread being stopped ??
What is the best way to stop the thread ??
thanks
sohel
David Neèas (Yeti) <yeti physics muni cz> wrote: On Sat, Sep 08, 2007 at 02:17:11AM -0700, Sohel wrote:
I have two buttons using one button I start a thread and using the other button I want to stop this thread.
I get the following error when trying to do this :
Xlib: unexpected async reply (sequence 0x26ad)!
How do I solve this error and if there is a better way to do this ??
Filter question: Did you read and follow
http://library.gnome.org/devel/gdk/stable/gdk-Threads.html
?
Yeti
--
http://gwyddion.net/
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
---------------------------------
Shape Yahoo! in your own image. Join our Network Research Panel today!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]