Subj : Re: pthread_create SIGSEGV (again!!!) To : comp.programming.threads From : bg Date : Mon Oct 10 2005 02:20 am Thanks a lot for ur response. actually i had a feeling that this problem was a very frequent one. anyway, here is a short description of the code .. pthread_t tid; /*global declaration*/ void create() { ..... pthread_create(&tid, NULL, threadfunction, (void *) NULL); pthread_join(threadfunction, NULL); /*immediately folowing thread create statement*/ ... } void dummy() { .... create(); .... } int main() { .... dummy(); .... } void *threadfunction(void *) { .... pthread_exit(0); } thats it!! would u like to have any more details? i think i have included all the required header files. bg .