Re: Gthreads again
- From: Tristan Van Berkom <tvb gnome org>
- To: Fernando Apesteguía <fernando apesteguia gmail com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Gthreads again
- Date: Mon, 24 Apr 2006 13:21:42 -0400
Fernando Apesteguía wrote:
[...]
Now, I'm using GThreads. I don't perform a pthread_cancel nor an equivalent
for GThreads, but the application appears to run well. Does gtk_main_quit()
kill the secondary thread properly or should I expect a crash of my
application?
Threads are allowed to run whether there is a GMainLoop, gtk_main() or
whatever else running in any other thread; if you are running gtk_main()
from a created thread; gtk_main_quit will not kill its own thread.
Cheers,
-Tristan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]