LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   g_thread_init SEGV (https://www.linuxquestions.org/questions/programming-9/g_thread_init-segv-195735/)

The_Nerd 06-20-2004 04:54 PM

g_thread_init SEGV
 
Hi, I have a program I wrote in GTK 2.0, it works great. But now I decided I want to add another thread to do a proccess in the background, however when I call g_thread_init(NULL), the programs exits with SEGV? Whats wrong?

I tried looking on google, and someone suggested calling gtk_init before g_thread_init, I tried this but it doesn't make any difference. Please help!

The_Nerd 06-20-2004 05:00 PM

Never mind. I was linking my program to gthread instead of gthread-2.0

:p :D


All times are GMT -5. The time now is 09:11 AM.