Subj : Re: pthread_create SIGSEGV (again!!!) To : comp.programming.threads From : AlterX Date : Mon Oct 10 2005 11:31 am bg wrote: [cut] > pthread_t tid; /*global declaration*/ > void create() > { > .... > pthread_create(&tid, NULL, threadfunction, (void *) NULL); > pthread_join(threadfunction, NULL); /*immediately folowing thread > create statement*/ Here is the error!!! pthread_join(tid, NULL); you take a function pointer as parameter... .