Gthreads again
- From: "Fernando Apesteguía" <fernando apesteguia gmail com>
- To: gtk-app-devel-list gnome org
- Subject: Gthreads again
- Date: Mon, 24 Apr 2006 13:34:45 +0200
Hi, I wrote a mail some time ago, but nobody answered me :(
My problem is that I had two threads. The second one was a pthread. I
performed and exit from a callback, so I had to pthread_cancel the secondary
thread to avoid a race condition and an eventual app crash.
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?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]