hi all
i am doing a gui application using pthread
if i do like this my application is not hanging.
and if i do like this my application is hangingCode:pthread_t thread; gint iret1; iret1=pthread_create( &thread, NULL, write_data, NULL);
and also what is the deference b/wCode:pthread_t thread; gint iret1; iret1=pthread_create( &thread, NULL, write_data, NULL); pthread_join( thread, NULL );
pthread_exit(NULL) and
pthread_exit(0);
but i need to join the thread.
can you help me
how can i solve this problem
thank you in advance


